authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2025-12-26 17:18:12-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-26 19:58:56-08:00
logec5c2d4ce36394b1d675519a824c101ca9a82fa7
tree632ec97743af4f063f9aed90e4450a6765717f6d
parent447f80c0cc66f9f214e54f8808372d9fe3e105d1

Skip posix-specific standalone test on Windows


1 files changed, 4 insertions(+), 3 deletions(-)

test/standalone/posix/cwd.zig+4-3
......@@ -8,9 +8,10 @@ const assert = std.debug.assert;
88const path_max = std.fs.max_path_bytes;
99
1010pub fn main() !void {
11 if (builtin.target.os.tag == .wasi) {
12 // WASI doesn't support changing the working directory at all.
13 return;
11 switch (builtin.target.os.tag) {
12 .wasi => return, // WASI doesn't support changing the working directory at all.
13 .windows => return, // POSIX is not implemented by Windows
14 else => {},
1415 }
1516
1617 var debug_allocator: std.heap.DebugAllocator(.{}) = .{};