Skip to content

Commit dec8166

Browse files
authored
Default to 1 thread
1 parent 6053526 commit dec8166

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
@@ -1103,7 +1103,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
11031103
// a sequential compiler for now. This'll likely be adjusted
11041104
// in the future. Note that -Zthreads=0 is the way to get
11051105
// the num_cpus behavior.
1106-
threads: usize = (12, parse_threads, [UNTRACKED],
1106+
threads: usize = (1, parse_threads, [UNTRACKED],
11071107
"use a thread pool with N threads"),
11081108
time: bool = (false, parse_bool, [UNTRACKED],
11091109
"measure time of rustc processes (default: no)"),

0 commit comments

Comments
 (0)