| ... | ... | @@ -8,9 +8,10 @@ const assert = std.debug.assert; |
| 8 | 8 | const path_max = std.fs.max_path_bytes; |
| 9 | 9 | |
| 10 | 10 | pub 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 => {}, |
| 14 | 15 | } |
| 15 | 16 | |
| 16 | 17 | var debug_allocator: std.heap.DebugAllocator(.{}) = .{}; |