Skip to content

Commit 4b6635e

Browse files
Make verbose --version show if parallel queries are supported.
1 parent a53bd20 commit 4b6635e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/librustc_driver/lib.rs

Lines changed: 8 additions & 0 deletions
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)