diff --git a/recipes/rust/config.toml b/recipes/rust/config.toml index 14828f7e..79535096 100644 --- a/recipes/rust/config.toml +++ b/recipes/rust/config.toml @@ -9,7 +9,6 @@ docs = false submodules = false [rust] -codegen-units = 0 use-jemalloc = false backtrace = false rpath = false diff --git a/recipes/rust/recipe.sh b/recipes/rust/recipe.sh index b7410e3a..1dcc4c01 100644 --- a/recipes/rust/recipe.sh +++ b/recipes/rust/recipe.sh @@ -35,7 +35,7 @@ function recipe_fetch { function recipe_prepare { rm -rf "$LLVM_PREFIX" mkdir -p "$LLVM_PREFIX" - + rm -rf "$LLVM_BUILD" mkdir "$LLVM_BUILD" } @@ -53,8 +53,7 @@ function recipe_build { make install popd - cp ../{config.toml,llvm-config} ./ - python x.py build + python x.py build --config ../config.toml --jobs $(nproc) skip=1 }