mirror of
https://github.com/ziglang/zig.git
synced 2024-11-13 23:52:57 +00:00
c: Include Os.Tag.other in the list of freestanding OSs.
This commit is contained in:
parent
9e1dd3dec2
commit
9904a3ac9d
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user