Skip to content

Commit

Permalink
Improve build speed of Rust recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Nov 10, 2017
1 parent ceb3eb7 commit 58ff0bf
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions recipes/rust/config.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
[llvm]
static-libstdcpp = true
ninja = true

[build]
host = ["x86_64-unknown-redox"]
target = ["x86_64-unknown-redox"]
docs = false
submodules = false

[rust]
codegen-units = 0
use-jemalloc = false
backtrace = false
rpath = false
codegen-tests = false

[target.x86_64-unknown-redox]
cc = "x86_64-unknown-redox-gcc"
cxx = "x86_64-unknown-redox-g++"
llvm-config = "./llvm-config"

[build]
host = ["x86_64-unknown-redox"]
target = ["x86_64-unknown-redox"]
ar = "x86_64-unknown-redox-ar"
linker = "x86_64-unknown-redox-gcc"
llvm-config = "../llvm-config"
crt-static = true

0 comments on commit 58ff0bf

Please sign in to comment.