We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49cc81d commit cf0eddbCopy full SHA for cf0eddb
src/bootstrap/src/core/build_steps/check.rs
@@ -502,6 +502,13 @@ macro_rules! tool_check_step {
502
fn make_run(run: RunConfig<'_>) {
503
let target = run.target;
504
let build_compiler = prepare_compiler_for_check(run.builder, target, $mode);
505
+
506
+ // It doesn't make sense to cross-check bootstrap tools
507
+ if $mode == Mode::ToolBootstrap && target != run.builder.host_target {
508
+ println!("WARNING: not checking bootstrap tool {} for target {target} as it is a bootstrap (host-only) tool", stringify!($path));
509
+ return;
510
+ };
511
512
run.builder.ensure($name { target, build_compiler });
513
}
514
0 commit comments