Skip to content

Commit 34fd685

Browse files
committed
Change number of threads from num_cpus to 8
1 parent 77f6c01 commit 34fd685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2654,7 +2654,7 @@ written to standard error output)"),
26542654
thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],
26552655
"enable ThinLTO when possible"),
26562656
#[rustc_lint_opt_deny_field_access("use `Session::threads` instead of this field")]
2657-
threads: usize = (std::thread::available_parallelism().map_or(1, NonZero::get), parse_threads, [UNTRACKED],
2657+
threads: usize = (8, parse_threads, [UNTRACKED],
26582658
"use a thread pool with N threads"),
26592659
time_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
26602660
"measure time of each LLVM pass (default: no)"),

0 commit comments

Comments
 (0)