Skip to content

Commit 75cf5fc

Browse files
committed
c: Include Os.Tag.other in the list of freestanding OSs.
1 parent a35bd39 commit 75cf5fc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/c.zig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@ const is_wasm = switch (native_arch) {
1717
.wasm32, .wasm64 => true,
1818
else => false,
1919
};
20-
const is_msvc = switch (native_abi) {
21-
.msvc => true,
22-
else => false,
23-
};
2420
const is_freestanding = switch (native_os) {
25-
.freestanding => true,
21+
.freestanding, .other => true,
2622
else => false,
2723
};
2824

0 commit comments

Comments
 (0)