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 @@ -798,7 +798,7 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
798
798
println ! ( "commit-date: {}" , unw( util:: commit_date_str( ) ) ) ;
799
799
println ! ( "host: {}" , config:: host_triple( ) ) ;
800
800
println ! ( "release: {}" , unw( util:: release_str( ) ) ) ;
801
- if cfg ! ( llvm) {
801
+ if cfg ! ( feature = " llvm" ) {
802
802
get_builtin_codegen_backend ( "llvm" ) ( ) . print_version ( ) ;
803
803
}
804
804
}
@@ -1087,7 +1087,7 @@ pub fn handle_options(args: &[String]) -> Option<getopts::Matches> {
1087
1087
}
1088
1088
1089
1089
if cg_flags. iter ( ) . any ( |x| * x == "passes=list" ) {
1090
- if cfg ! ( llvm) {
1090
+ if cfg ! ( feature = " llvm" ) {
1091
1091
get_builtin_codegen_backend ( "llvm" ) ( ) . print_passes ( ) ;
1092
1092
}
1093
1093
return None ;
You can’t perform that action at this time.
0 commit comments