diff --git a/recipes/rust/config.toml b/recipes/rust/config.toml index 14828f7e92451575f2339fd32baebe1537d644da..79535096841e8a5c4e5b6032008c0abf60d83482 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 b7410e3a4daaf66150e7d13fa4d96bffb4acb080..1dcc4c0169c9dd8f8f6d60654a94040d8e1d58dc 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 }