Do not ever cross-check bootstrap tools
This commit is contained in:
parent
baa55aef3a
commit
5dc77ba658
2 changed files with 7 additions and 2 deletions
|
|
@ -502,6 +502,13 @@ macro_rules! tool_check_step {
|
|||
fn make_run(run: RunConfig<'_>) {
|
||||
let target = run.target;
|
||||
let build_compiler = prepare_compiler_for_check(run.builder, target, $mode);
|
||||
|
||||
// It doesn't make sense to cross-check bootstrap tools
|
||||
if $mode == Mode::ToolBootstrap && target != run.builder.host_target {
|
||||
println!("WARNING: not checking bootstrap tool {} for target {target} as it is a bootstrap (host-only) tool", stringify!($path));
|
||||
return;
|
||||
};
|
||||
|
||||
run.builder.ensure($name { target, build_compiler });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1313,11 +1313,9 @@ mod snapshot {
|
|||
[check] rustc 1 <host> -> Clippy 2 <target1>
|
||||
[check] rustc 1 <host> -> Miri 2 <target1>
|
||||
[check] rustc 1 <host> -> CargoMiri 2 <target1>
|
||||
[check] rustc 0 <host> -> MiroptTestTools 1 <target1>
|
||||
[check] rustc 1 <host> -> Rustfmt 2 <target1>
|
||||
[check] rustc 1 <host> -> rust-analyzer 2 <target1>
|
||||
[check] rustc 1 <host> -> TestFloatParse 2 <target1>
|
||||
[check] rustc 0 <host> -> FeaturesStatusDump 1 <target1>
|
||||
[check] rustc 1 <host> -> std 1 <target1>
|
||||
");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue