Commit 9904a3ac9d

Alex Rønne Petersen <alex@alexrp.com>
2024-11-08 11:54:57
c: Include Os.Tag.other in the list of freestanding OSs.
1 parent 9e1dd3d
Changed files (1)
lib
lib/c.zig
@@ -17,12 +17,8 @@ const is_wasm = switch (native_arch) {
     .wasm32, .wasm64 => true,
     else => false,
 };
-const is_msvc = switch (native_abi) {
-    .msvc => true,
-    else => false,
-};
 const is_freestanding = switch (native_os) {
-    .freestanding => true,
+    .freestanding, .other => true,
     else => false,
 };