Skip to content

Commit a3832dd

Browse files
committed
Auto merge of rust-lang#110284 - SparrowLii:parallel_2, r=<try>
test for the default parallel compiler on threads=8 test the perf of unchanged parallel compiler with two threads r? `@ghost`
2 parents c263ccf + 366a1b5 commit a3832dd

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)