Skip to content

Commit e852bc0

Browse files
committed
add "optimized-compiler-builtins" option coverage for ci-rustc
Signed-off-by: onur-ozkan <[email protected]>
1 parent 20630c5 commit e852bc0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/bootstrap/src/core/config/config.rs

+9-5
Original file line numberDiff line numberDiff line change
@@ -3125,11 +3125,15 @@ fn check_incompatible_options_for_ci_rustc(
31253125
};
31263126
}
31273127

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");
31333137

31343138
// We always build the in-tree compiler on cross targets, so we only care
31353139
// about the host target here.

0 commit comments

Comments
 (0)