Skip to content

Commit 99e726b

Browse files
committedDec 2, 2024·
add "optimized-compiler-builtins" option coverage for ci-rustc
Signed-off-by: onur-ozkan <[email protected]>
1 parent 20630c5 commit 99e726b

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed
 

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

+11-6
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.
@@ -3141,7 +3145,8 @@ fn check_incompatible_options_for_ci_rustc(
31413145
"Target specific config for '{host_str}' is not present for CI-rustc"
31423146
))?;
31433147

3144-
err!(current_cfg.profiler, ci_cfg.profiler, "build");
3148+
let profiler = &ci_cfg.profiler;
3149+
err!(current_cfg.profiler, profiler, "build");
31453150
}
31463151
}
31473152

0 commit comments

Comments
 (0)
Please sign in to comment.