Skip to content

Commit 2f282c6

Browse files
committed
set default threads to 8
1 parent 16de1e5 commit 2f282c6

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
@@ -1800,7 +1800,7 @@ written to standard error output)"),
18001800
/// in the future. Note that -Zthreads=0 is the way to get
18011801
/// the num_cpus behavior.
18021802
#[rustc_lint_opt_deny_field_access("use `Session::threads` instead of this field")]
1803-
threads: usize = (2, parse_threads, [UNTRACKED],
1803+
threads: usize = (8, parse_threads, [UNTRACKED],
18041804
"use a thread pool with N threads"),
18051805
time_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
18061806
"measure time of each LLVM pass (default: no)"),

0 commit comments

Comments
 (0)