aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-04-16 18:07:02 +0200
committerGitHub <noreply@github.com>2022-04-16 18:07:02 +0200
commit8f75823728d247bc11d916b7257d7eebc7be06de (patch)
treec75f34334db2fba833ae91f2ae7a52f9cbd546c8 /src/type.zig
parenta315d51c0a0c8eda2467c5571f9d7e2495274dbd (diff)
parent897df18573c951b49fb6421a9e1b711cabfeda67 (diff)
downloadzig-8f75823728d247bc11d916b7257d7eebc7be06de.tar.gz
zig-8f75823728d247bc11d916b7257d7eebc7be06de.zip
Merge pull request #11446 from ziglang/aarch64-macos-llvm
stage2: fix behavior test failures on aarch64-macos (LLVM+native), and other minor fixes
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/type.zig b/src/type.zig
index b087f7ab23..72cf2cd534 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -6155,7 +6155,6 @@ pub const CType = enum {
},
.linux,
- .macos,
.freebsd,
.netbsd,
.dragonfly,
@@ -6198,7 +6197,7 @@ pub const CType = enum {
.longlong, .ulonglong, .longdouble => return 64,
},
- .ios, .tvos, .watchos => switch (self) {
+ .macos, .ios, .tvos, .watchos => switch (self) {
.short, .ushort => return 16,
.int, .uint => return 32,
.long, .ulong, .longlong, .ulonglong => return 64,