Skip to content

Commit 10fb846

Browse files
committed
std.fs: Disable file operations on directories test on WASI.
#20747
1 parent 0a70455 commit 10fb846

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/fs/test.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ test "directory operations on files" {
745745
test "file operations on directories" {
746746
// TODO: fix this test on FreeBSD. https://github.com/ziglang/zig/issues/1759
747747
if (native_os == .freebsd) return error.SkipZigTest;
748+
if (native_os == .wasi) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/20747
748749

749750
try testWithAllSupportedPathTypes(struct {
750751
fn impl(ctx: *TestContext) !void {

0 commit comments

Comments
 (0)