Skip to content

Commit

Permalink
std.fs: Disable file operations on directories test on WASI.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp authored and andrewrk committed Aug 24, 2024
1 parent cad69e2 commit ab69482
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/std/fs/test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ab69482

Please sign in to comment.