skip when builtin.link_libc

This commit is contained in:
Edoardo Vacchi 2023-02-18 22:29:11 +01:00
parent a250af5a51
commit 4940afc434

View File

@ -100,7 +100,7 @@ fn wasiPathPrefixMatches(prefix: []const u8, path: []const u8) bool {
}
test "preopens" {
if (builtin.os.tag != .wasi) return error.SkipZigTest;
if (builtin.os.tag != .wasi or builtin.link_libc) return error.SkipZigTest;
// lifted from `testing`
const random_bytes_count = 12;