Skip to content

Commit bcc6e96

Browse files
committed
cargo-config: use Rust's front-end parallel compilation
Use the recommended configuration that enables the front-end parallel compilation for faster builds Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
1 parent 23e2dcf commit bcc6e96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cargo/config.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
[unstable]
22
bindeps = true
3+
4+
[build]
5+
# This is the recommended configuration that yields the
6+
# best results:
7+
# - https://blog.rust-lang.org/2023/11/09/parallel-rustc.html
8+
rustflags = ["-Z", "threads=8"]

0 commit comments

Comments
 (0)