Skip to content

Commit 18d646d

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 f001287 + 33610f1 commit 18d646d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ impl Session {
841841

842842
#[inline(always)]
843843
pub fn profiler<F: FnOnce(&mut SelfProfiler) -> ()>(&self, f: F) {
844-
if unlikely!(self.self_profiling_active) {
844+
if unlikely!(false) {
845845
self.profiler_active(f)
846846
}
847847
}
@@ -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(8)
906906
}
907907

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

0 commit comments

Comments
 (0)