commit 64b2cf776c4efa92f6be180c25ff13d49b495cbf (tree)
parent fbe9233aa7a84a1c382f35510e71f06d597e2a19
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 27 Mar 2019 16:08:45 -0400
implement target_c_type_size_in_bits for WASI
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/target.cpp b/src/target.cpp
@@ -858,8 +858,9 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
case OsMacOSX:
case OsZen:
case OsFreeBSD:
- case OsNetBSD:
+ case OsNetBSD:
case OsOpenBSD:
+ case OsWASI:
switch (id) {
case CIntTypeShort:
case CIntTypeUShort:
@@ -919,7 +920,6 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
case OsAMDPAL:
case OsHermitCore:
case OsHurd:
- case OsWASI:
zig_panic("TODO c type size in bits for this target");
}
zig_unreachable();