File tree 1 file changed +9
-5
lines changed
src/bootstrap/src/core/config
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -3125,11 +3125,15 @@ fn check_incompatible_options_for_ci_rustc(
3125
3125
} ;
3126
3126
}
3127
3127
3128
- err ! (
3129
- current_config_toml. build. as_ref( ) . and_then( |b| b. profiler) ,
3130
- ci_config_toml. build. as_ref( ) . and_then( |b| b. profiler) ,
3131
- "build"
3132
- ) ;
3128
+ let current_profiler = current_config_toml. build . as_ref ( ) . and_then ( |b| b. profiler ) ;
3129
+ let profiler = ci_config_toml. build . as_ref ( ) . and_then ( |b| b. profiler ) ;
3130
+ err ! ( current_profiler, profiler, "build" ) ;
3131
+
3132
+ let current_optimized_compiler_builtins =
3133
+ current_config_toml. build . as_ref ( ) . and_then ( |b| b. optimized_compiler_builtins ) ;
3134
+ let optimized_compiler_builtins =
3135
+ ci_config_toml. build . as_ref ( ) . and_then ( |b| b. optimized_compiler_builtins ) ;
3136
+ err ! ( current_optimized_compiler_builtins, optimized_compiler_builtins, "build" ) ;
3133
3137
3134
3138
// We always build the in-tree compiler on cross targets, so we only care
3135
3139
// about the host target here.
You can’t perform that action at this time.
0 commit comments