authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-08 11:54:57+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-08 14:56:55+01:00
log9904a3ac9d35641ba4676ad97c8abd96b20aa1a1
treebba48c659ab2d630de7a22c6c864c623adce5096
parent9e1dd3dec2e8a74798b152b199ae6484c2fc1070
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

c: Include Os.Tag.other in the list of freestanding OSs.


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

lib/c.zig+1-5
...@@ -17,12 +17,8 @@ const is_wasm = switch (native_arch) {...@@ -17,12 +17,8 @@ const is_wasm = switch (native_arch) {
17 .wasm32, .wasm64 => true,17 .wasm32, .wasm64 => true,
18 else => false,18 else => false,
19};19};
20const is_msvc = switch (native_abi) {
21 .msvc => true,
22 else => false,
23};
24const is_freestanding = switch (native_os) {20const is_freestanding = switch (native_os) {
25 .freestanding => true,21 .freestanding, .other => true,
26 else => false,22 else => false,
27};23};
2824