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) {...@@ -858,8 +858,9 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
858 case OsMacOSX:858 case OsMacOSX:
859 case OsZen:859 case OsZen:
860 case OsFreeBSD:860 case OsFreeBSD:
861 case OsNetBSD:861 case OsNetBSD:
862 case OsOpenBSD:862 case OsOpenBSD:
863 case OsWASI:
863 switch (id) {864 switch (id) {
864 case CIntTypeShort:865 case CIntTypeShort:
865 case CIntTypeUShort:866 case CIntTypeUShort:
...@@ -919,7 +920,6 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {...@@ -919,7 +920,6 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
919 case OsAMDPAL:920 case OsAMDPAL:
920 case OsHermitCore:921 case OsHermitCore:
921 case OsHurd:922 case OsHurd:
922 case OsWASI:
923 zig_panic("TODO c type size in bits for this target");923 zig_panic("TODO c type size in bits for this target");
924 }924 }
925 zig_unreachable();925 zig_unreachable();