Skip to content

Commit 86c0461

Browse files
committed
Allow cargo to compile with >1 core
This should significantly speed up debug and test builds + cargo check. With rust-lang/rust#42682, cargo/rustc no longer spawns lots and lots of workers even when called recursively. Still not enabled by default in release mode: https://internals.rust-lang.org/t/help-test-out-thinlto/6017
1 parent 9011b72 commit 86c0461

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ default-features = false
8383
# for Mac OS X build
8484
# git = "https://github.com/ms705/timekeeper"
8585

86-
[profile.dev]
87-
codegen-units = 1
88-
89-
[profile.test]
90-
codegen-units = 1
91-
9286
[profile.release]
9387
debug=true
9488

0 commit comments

Comments
 (0)