Skip to content

Commit b198589

Browse files
committed
Don't try to auto-bless 32-bit mir-opt tests on ARM Mac hosts
Blessing 32-bit tests on 64-bit hosts relies on having a corresponding 32-bit target that can be built "easily" on those hosts. ARM Macs don't have a corresponding 32-bit target, so trying to build one is usually going to fail.
1 parent 3b2073f commit b198589

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/test.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ const MIR_OPT_BLESS_TARGET_MAPPING: &[(&str, &str)] = &[
4444
("i686-pc-windows-msvc", "x86_64-pc-windows-msvc"),
4545
("i686-pc-windows-gnu", "x86_64-pc-windows-gnu"),
4646
("i686-apple-darwin", "x86_64-apple-darwin"),
47-
("i686-apple-darwin", "aarch64-apple-darwin"),
47+
// ARM Macs don't have a corresponding 32-bit target that they can (easily)
48+
// build for, so there is no entry for "aarch64-apple-darwin" here.
4849
];
4950

5051
fn try_run(builder: &Builder<'_>, cmd: &mut Command) -> bool {

0 commit comments

Comments
 (0)