diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-11-13 18:05:46 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-11-14 11:33:35 +0100 |
| commit | 9ab7eec23e6aa1fc8d5659566e426816ba573537 (patch) | |
| tree | b6b7bbdbccd75ced24eeb677959d41be06b311ff /test/behavior/basic.zig | |
| parent | 2e6f7d36b9292b2a88a28c3caab767cd9401175d (diff) | |
| download | zig-9ab7eec23e6aa1fc8d5659566e426816ba573537.tar.gz zig-9ab7eec23e6aa1fc8d5659566e426816ba573537.zip | |
represent Mac Catalyst as aarch64-maccatalyst-none rather than aarch64-ios-macabi
Apple's own headers and tbd files prefer to think of Mac Catalyst as a distinct
OS target. Earlier, when DriverKit support was added to LLVM, it was represented
a distinct OS. So why Apple decided to only represent Mac Catalyst as an ABI in
the target triple is beyond me. But this isn't the first time they've ignored
established target triple norms (see: armv7k and aarch64_32) and it probably
won't be the last.
While doing this, I also audited all Darwin OS prongs throughout the codebase
and made sure they cover all the tags.
Diffstat (limited to 'test/behavior/basic.zig')
| -rw-r--r-- | test/behavior/basic.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index c98caed91f..d704151aa6 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -1398,7 +1398,7 @@ test "allocation and looping over 3-byte integer" { if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_llvm and builtin.os.tag == .macos) { + if (builtin.zig_backend == .stage2_llvm and builtin.os.tag.isDarwin()) { return error.SkipZigTest; // TODO } if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO |
