We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6403b0 commit 64c1b0dCopy full SHA for 64c1b0d
compiler/rustc_driver/src/lib.rs
@@ -808,7 +808,7 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
808
println!("commit-date: {}", unw(util::commit_date_str()));
809
println!("host: {}", config::host_triple());
810
println!("release: {}", unw(util::release_str()));
811
- if cfg!(llvm) {
+ if cfg!(feature = "llvm") {
812
get_builtin_codegen_backend("llvm")().print_version();
813
}
814
@@ -1096,7 +1096,7 @@ pub fn handle_options(args: &[String]) -> Option<getopts::Matches> {
1096
1097
1098
if cg_flags.iter().any(|x| *x == "passes=list") {
1099
1100
get_builtin_codegen_backend("llvm")().print_passes();
1101
1102
return None;
0 commit comments