mirror of
https://github.com/ziglang/zig.git
synced 2026-01-31 11:43:37 +00:00
implement target_c_type_size_in_bits for WASI
This commit is contained in:
parent
fbe9233aa7
commit
64b2cf776c
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user