From b6ea60ff77ae130b04682f5cfc3b580b7ce92e49 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 10 Mar 2024 15:40:02 +0100 Subject: [PATCH] mir-opt: always run tests for the current target --- src/bootstrap/src/core/build_steps/test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 4a4497e57db14..bda26909984de 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -1549,6 +1549,8 @@ impl Step for MirOpt { }) }; + run(self.target); + if builder.config.cmd.bless() { // All that we really need to do is cover all combinations of 32/64-bit and unwind/abort, // but while we're at it we might as well flex our cross-compilation support. This @@ -1567,8 +1569,6 @@ impl Step for MirOpt { }); run(panic_abort_target); } - } else { - run(self.target); } } }