mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
Skip posix-specific standalone test on Windows
This commit is contained in:
parent
447f80c0cc
commit
ec5c2d4ce3
1 changed files with 4 additions and 3 deletions
|
|
@ -8,9 +8,10 @@ const assert = std.debug.assert;
|
|||
const path_max = std.fs.max_path_bytes;
|
||||
|
||||
pub fn main() !void {
|
||||
if (builtin.target.os.tag == .wasi) {
|
||||
// WASI doesn't support changing the working directory at all.
|
||||
return;
|
||||
switch (builtin.target.os.tag) {
|
||||
.wasi => return, // WASI doesn't support changing the working directory at all.
|
||||
.windows => return, // POSIX is not implemented by Windows
|
||||
else => {},
|
||||
}
|
||||
|
||||
var debug_allocator: std.heap.DebugAllocator(.{}) = .{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue