Skip to content

Commit

Permalink
c: Include Os.Tag.other in the list of freestanding OSs.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Nov 8, 2024
1 parent a35bd39 commit 75cf5fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/c.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 75cf5fc

Please sign in to comment.