Skip to content

Commit b98d215

Browse files
committed
Auto merge of #56765 - Zoxc:pq-test, r=<try>
[do not merge] Test parallel queries Let's see if I have more luck r? @michaelwoerister
2 parents 9fe5cb5 + 0e76967 commit b98d215

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
@@ -553,7 +553,7 @@ impl Config {
553553
set(&mut config.lld_enabled, rust.lld);
554554
set(&mut config.lldb_enabled, rust.lldb);
555555
set(&mut config.llvm_tools_enabled, rust.llvm_tools);
556-
config.rustc_parallel_queries = rust.experimental_parallel_queries.unwrap_or(false);
556+
config.rustc_parallel_queries = rust.experimental_parallel_queries.unwrap_or(true);
557557
config.rustc_default_linker = rust.default_linker.clone();
558558
config.musl_root = rust.musl_root.clone().map(PathBuf::from);
559559
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
@@ -886,7 +886,7 @@ impl Session {
886886
/// Returns the number of query threads that should be used for this
887887
/// compilation
888888
pub fn query_threads_from_opts(opts: &config::Options) -> usize {
889-
opts.debugging_opts.query_threads.unwrap_or(1)
889+
opts.debugging_opts.query_threads.unwrap_or(4)
890890
}
891891

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

0 commit comments

Comments
 (0)