Skip to content

Commit 366a1b5

Browse files
committed
set default threads to 8
1 parent 1d726a2 commit 366a1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ written to standard error output)"),
18971897
/// in the future. Note that -Zthreads=0 is the way to get
18981898
/// the num_cpus behavior.
18991899
#[rustc_lint_opt_deny_field_access("use `Session::threads` instead of this field")]
1900-
threads: usize = (1, parse_threads, [UNTRACKED],
1900+
threads: usize = (8, parse_threads, [UNTRACKED],
19011901
"use a thread pool with N threads"),
19021902
time_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
19031903
"measure time of each LLVM pass (default: no)"),

0 commit comments

Comments
 (0)