File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_driver/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
808
808
println ! ( "commit-date: {}" , unw( util:: commit_date_str( ) ) ) ;
809
809
println ! ( "host: {}" , config:: host_triple( ) ) ;
810
810
println ! ( "release: {}" , unw( util:: release_str( ) ) ) ;
811
- if cfg ! ( llvm) {
811
+ if cfg ! ( feature = " llvm" ) {
812
812
get_builtin_codegen_backend ( "llvm" ) ( ) . print_version ( ) ;
813
813
}
814
814
}
@@ -1096,7 +1096,7 @@ pub fn handle_options(args: &[String]) -> Option<getopts::Matches> {
1096
1096
}
1097
1097
1098
1098
if cg_flags. iter ( ) . any ( |x| * x == "passes=list" ) {
1099
- if cfg ! ( llvm) {
1099
+ if cfg ! ( feature = " llvm" ) {
1100
1100
get_builtin_codegen_backend ( "llvm" ) ( ) . print_passes ( ) ;
1101
1101
}
1102
1102
return None ;
You can’t perform that action at this time.
0 commit comments