authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-03-27 16:08:45-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-03-27 16:08:45-04:00
log64b2cf776c4efa92f6be180c25ff13d49b495cbf
tree4f84ef3a2cc71806b812c8f24da9325cadd61a7a
parentfbe9233aa7a84a1c382f35510e71f06d597e2a19
signaturelock-open Commit is signed but in an unrecognized format.

implement target_c_type_size_in_bits for WASI


1 files changed, 2 insertions(+), 2 deletions(-)

src/target.cpp+2-2
......@@ -858,8 +858,9 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
858858 case OsMacOSX:
859859 case OsZen:
860860 case OsFreeBSD:
861 case OsNetBSD:
861 case OsNetBSD:
862862 case OsOpenBSD:
863 case OsWASI:
863864 switch (id) {
864865 case CIntTypeShort:
865866 case CIntTypeUShort:
......@@ -919,7 +920,6 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
919920 case OsAMDPAL:
920921 case OsHermitCore:
921922 case OsHurd:
922 case OsWASI:
923923 zig_panic("TODO c type size in bits for this target");
924924 }
925925 zig_unreachable();