Skip to content

Commit

Permalink
Default to 1 thread
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 authored Dec 4, 2020
1 parent 6053526 commit dec8166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
// a sequential compiler for now. This'll likely be adjusted
// in the future. Note that -Zthreads=0 is the way to get
// the num_cpus behavior.
threads: usize = (12, parse_threads, [UNTRACKED],
threads: usize = (1, parse_threads, [UNTRACKED],
"use a thread pool with N threads"),
time: bool = (false, parse_bool, [UNTRACKED],
"measure time of rustc processes (default: no)"),
Expand Down

0 comments on commit dec8166

Please sign in to comment.