Skip to content

Commit d79d87d

Browse files
Auto merge of #146237 - zetanumbers:parallel-frontend-by-default, r=<try>
Test out parallel frontend via crater
2 parents ad85bc5 + 34fd685 commit d79d87d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compiler/rustc_session/src/options.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2653,12 +2653,8 @@ written to standard error output)"),
26532653
#[rustc_lint_opt_deny_field_access("use `Session::lto` instead of this field")]
26542654
thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],
26552655
"enable ThinLTO when possible"),
2656-
/// We default to 1 here since we want to behave like
2657-
/// a sequential compiler for now. This'll likely be adjusted
2658-
/// in the future. Note that -Zthreads=0 is the way to get
2659-
/// the num_cpus behavior.
26602656
#[rustc_lint_opt_deny_field_access("use `Session::threads` instead of this field")]
2661-
threads: usize = (1, parse_threads, [UNTRACKED],
2657+
threads: usize = (8, parse_threads, [UNTRACKED],
26622658
"use a thread pool with N threads"),
26632659
time_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
26642660
"measure time of each LLVM pass (default: no)"),

0 commit comments

Comments
 (0)