Skip to content

Commit f93c2ce

Browse files
committed
Rollup merge of rust-lang#52052 - michaelwoerister:show-parallel-queries, r=Mark-Simulacrum
Make verbose --version show if parallel queries are supported. This should not break anything, right? r? @Mark-Simulacrum cc @rust-lang/release @Zoxc
2 parents 6d35505 + 4b6635e commit f93c2ce

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/librustc_driver/lib.rs

+8
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,14 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
11511151
println!("host: {}", config::host_triple());
11521152
println!("release: {}", unw(release_str()));
11531153
get_codegen_sysroot("llvm")().print_version();
1154+
1155+
if nightly_options::is_nightly_build() {
1156+
println!("parallel-queries: {}", if cfg!(parallel_queries) {
1157+
"yes"
1158+
} else {
1159+
"no"
1160+
});
1161+
}
11541162
}
11551163
}
11561164

0 commit comments

Comments
 (0)