Skip to content

Commit 1043209

Browse files
committed
mir-opt: don't try other targets under --keep-stage-std
1 parent b6ea60f commit 1043209

File tree

1 file changed

+3
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+3
-1
lines changed

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,9 @@ impl Step for MirOpt {
15511551

15521552
run(self.target);
15531553

1554-
if builder.config.cmd.bless() {
1554+
// Run more targets on `--bless`, to try and cover all the tests. Don't try if we're keeping
1555+
// an std as that only makes sense for the current target.
1556+
if builder.config.cmd.bless() && builder.config.keep_stage_std.is_empty() {
15551557
// All that we really need to do is cover all combinations of 32/64-bit and unwind/abort,
15561558
// but while we're at it we might as well flex our cross-compilation support. This
15571559
// selection covers all our tier 1 operating systems and architectures using only tier

0 commit comments

Comments
 (0)