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 committed Aug 20, 2024
1 parent 0a70455 commit 10fb846
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) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/20747

try testWithAllSupportedPathTypes(struct {
fn impl(ctx: *TestContext) !void {
Expand Down

0 comments on commit 10fb846

Please sign in to comment.