Skip to content

Commit

Permalink
Allow cargo to compile with >1 core
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jonhoo committed Oct 10, 2017
1 parent 9011b72 commit 86c0461
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ default-features = false
# for Mac OS X build
# git = "https://github.com/ms705/timekeeper"

[profile.dev]
codegen-units = 1

[profile.test]
codegen-units = 1

[profile.release]
debug=true

Expand Down

0 comments on commit 86c0461

Please sign in to comment.