Skip to content

Commit 76f8f87

Browse files
committed
test
1 parent f001287 commit 76f8f87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bootstrap/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ impl Config {
547547
set(&mut config.lld_enabled, rust.lld);
548548
set(&mut config.lldb_enabled, rust.lldb);
549549
set(&mut config.llvm_tools_enabled, rust.llvm_tools);
550-
config.rustc_parallel_queries = rust.experimental_parallel_queries.unwrap_or(false);
550+
config.rustc_parallel_queries = rust.experimental_parallel_queries.unwrap_or(true);
551551
config.rustc_default_linker = rust.default_linker.clone();
552552
config.musl_root = rust.musl_root.clone().map(PathBuf::from);
553553
config.save_toolstates = rust.save_toolstates.clone().map(PathBuf::from);

src/librustc/session/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ impl Session {
902902
/// Returns the number of query threads that should be used for this
903903
/// compilation
904904
pub fn query_threads_from_opts(opts: &config::Options) -> usize {
905-
opts.debugging_opts.query_threads.unwrap_or(1)
905+
opts.debugging_opts.query_threads.unwrap_or(4)
906906
}
907907

908908
/// Returns the number of query threads that should be used for this

0 commit comments

Comments
 (0)