File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_session/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1800,7 +1800,7 @@ written to standard error output)"),
1800
1800
/// in the future. Note that -Zthreads=0 is the way to get
1801
1801
/// the num_cpus behavior.
1802
1802
#[ rustc_lint_opt_deny_field_access( "use `Session::threads` instead of this field" ) ]
1803
- threads: usize = ( 1 , parse_threads, [ UNTRACKED ] ,
1803
+ threads: usize = ( 2 , parse_threads, [ UNTRACKED ] ,
1804
1804
"use a thread pool with N threads" ) ,
1805
1805
time_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
1806
1806
"measure time of each LLVM pass (default: no)" ) ,
Original file line number Diff line number Diff line change @@ -1431,7 +1431,7 @@ impl Config {
1431
1431
set ( & mut config. use_lld , rust. use_lld ) ;
1432
1432
set ( & mut config. lld_enabled , rust. lld ) ;
1433
1433
set ( & mut config. llvm_tools_enabled , rust. llvm_tools ) ;
1434
- config. rustc_parallel = rust. parallel_compiler . unwrap_or ( false ) ;
1434
+ config. rustc_parallel = rust. parallel_compiler . unwrap_or ( true ) ;
1435
1435
config. rustc_default_linker = rust. default_linker ;
1436
1436
config. musl_root = rust. musl_root . map ( PathBuf :: from) ;
1437
1437
config. save_toolstates = rust. save_toolstates . map ( PathBuf :: from) ;
You can’t perform that action at this time.
0 commit comments