We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5322ace + 64c1b0d commit 87f94f2Copy full SHA for 87f94f2
compiler/rustc_driver/src/lib.rs
@@ -798,7 +798,7 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
798
println!("commit-date: {}", unw(util::commit_date_str()));
799
println!("host: {}", config::host_triple());
800
println!("release: {}", unw(util::release_str()));
801
- if cfg!(llvm) {
+ if cfg!(feature = "llvm") {
802
get_builtin_codegen_backend("llvm")().print_version();
803
}
804
@@ -1087,7 +1087,7 @@ pub fn handle_options(args: &[String]) -> Option<getopts::Matches> {
1087
1088
1089
if cg_flags.iter().any(|x| *x == "passes=list") {
1090
1091
get_builtin_codegen_backend("llvm")().print_passes();
1092
1093
return None;
0 commit comments