mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 21:18:42 +00:00
Optimize profile.dev
: Set codege-units
to 32 (#1199)
Splitting too many codege-units would actually takes longer to compile due to overhead of parallelism in backend. Also, our CI does not have that many CPU cores to take advantages of. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
9746ce9ca3
commit
b3b682a1af
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ debug = true
|
|||
lto = false
|
||||
debug-assertions = true
|
||||
overflow-checks = true
|
||||
codegen-units = 1024
|
||||
codegen-units = 32
|
||||
|
||||
# Set the default for dependencies on debug.
|
||||
[profile.dev.package."*"]
|
||||
|
|
Loading…
Add table
Reference in a new issue