authorgravatar for evacchi@users.noreply.github.comEdoardo Vacchi <evacchi@users.noreply.github.com> 2023-02-18 22:29:11+01:00
committergravatar for evacchi@users.noreply.github.comEdoardo Vacchi <evacchi@users.noreply.github.com> 2023-02-18 22:29:11+01:00
log4940afc434170966a9445b789374ba2a0f0318ab
tree956bafde1638849df8dd16622724697fde3c1b54
parenta250af5a51fa3f7af6b7f13a9613c79e6cd94fc3

skip when builtin.link_libc


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/fs/wasi.zig+1-1
......@@ -100,7 +100,7 @@ fn wasiPathPrefixMatches(prefix: []const u8, path: []const u8) bool {
100100}
101101
102102test "preopens" {
103 if (builtin.os.tag != .wasi) return error.SkipZigTest;
103 if (builtin.os.tag != .wasi or builtin.link_libc) return error.SkipZigTest;
104104
105105 // lifted from `testing`
106106 const random_bytes_count = 12;