diff --git a/test/tests.zig b/test/tests.zig index 80d2d64dcc303e5bbe4de12d8400f8adfc0706f6..b1cb1e2631343e140ade99e61e11dc16c4ff1fe4 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -2351,18 +2351,17 @@ pub const debugger_matrix: []const RunnerTarget = &.{ }; fn supportedCompatArch(host: *const std.Target, arch: std.Target.Cpu.Arch) bool { + // aarch64-freebsd and aarch64-linux can technically run 32-bit ARM binaries, but that depends + // on AArch32 support in the CPU. Since modern AArch64 CPUs have largely dropped this support, + // avoid reporting compatibility for 32-bit here since we'd just build a bunch of test binaries + // that never get run anyway. This added almost an hour's worth of useless work to aarch64-linux + // CI, for example. return switch (host.os.tag) { - .freebsd => switch (host.cpu.arch) { - .aarch64 => arch == .arm, - else => false, - }, .illumos => switch (host.cpu.arch) { .x86_64 => arch == .x86, else => false, }, .linux => switch (host.cpu.arch) { - .aarch64 => arch == .arm or arch == .thumb, - .aarch64_be => arch == .armeb or arch == .thumbeb, .mips64 => arch == .mips, .mips64el => arch == .mipsel, .powerpc64 => arch == .powerpc,