From ab69482a5ddd7750039a5ba9531a04ac0051aa18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 20 Aug 2024 19:42:07 +0200 Subject: [PATCH] std.fs: Disable `file operations on directories` test on WASI. https://github.com/ziglang/zig/issues/20747 --- lib/std/fs/test.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/fs/test.zig b/lib/std/fs/test.zig index f596c52322c3..b0810f81a548 100644 --- a/lib/std/fs/test.zig +++ b/lib/std/fs/test.zig @@ -745,6 +745,7 @@ test "directory operations on files" { test "file operations on directories" { // TODO: fix this test on FreeBSD. https://github.com/ziglang/zig/issues/1759 if (native_os == .freebsd) return error.SkipZigTest; + if (native_os == .wasi and builtin.link_libc) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/20747 try testWithAllSupportedPathTypes(struct { fn impl(ctx: *TestContext) !void {