We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Zthreads=4
1 parent fb017d0 commit cb190acCopy full SHA for cb190ac
compiler/rustc_session/src/options.rs
@@ -2513,7 +2513,17 @@ written to standard error output)"),
2513
/// in the future. Note that -Zthreads=0 is the way to get
2514
/// the num_cpus behavior.
2515
#[rustc_lint_opt_deny_field_access("use `Session::threads` instead of this field")]
2516
- threads: usize = (1, parse_threads, [UNTRACKED],
+ threads: usize = ({
2517
+ #[cfg(bootstrap)]
2518
+ {
2519
+ 1
2520
+ }
2521
+
2522
+ #[cfg(not(bootstrap))]
2523
2524
+ 4
2525
2526
+ }, parse_threads, [UNTRACKED],
2527
"use a thread pool with N threads"),
2528
time_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
2529
"measure time of each LLVM pass (default: no)"),
0 commit comments