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)"),
18001800 /// in the future. Note that -Zthreads=0 is the way to get
18011801 /// the num_cpus behavior.
18021802 #[ 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 ] ,
18041804 "use a thread pool with N threads" ) ,
18051805 time_llvm_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
18061806 "measure time of each LLVM pass (default: no)" ) ,
Original file line number Diff line number Diff line change @@ -1431,7 +1431,7 @@ impl Config {
14311431 set ( & mut config. use_lld , rust. use_lld ) ;
14321432 set ( & mut config. lld_enabled , rust. lld ) ;
14331433 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 ) ;
14351435 config. rustc_default_linker = rust. default_linker ;
14361436 config. musl_root = rust. musl_root . map ( PathBuf :: from) ;
14371437 config. save_toolstates = rust. save_toolstates . map ( PathBuf :: from) ;
You can’t perform that action at this time.
0 commit comments