Commit 214750fcfe

Pat Tullmann <pat.github@tullmann.org>
2025-03-05 23:04:26
lib/std/Build/Cache.zig: remove .wasi SkipZigTest checks
The build Cache test pass on Wasi now. Fixes #5437
1 parent db77e46
Changed files (1)
lib
std
Build
lib/std/Build/Cache.zig
@@ -1254,11 +1254,6 @@ fn testGetCurrentFileTimestamp(dir: fs.Dir) !i128 {
 }
 
 test "cache file and then recall it" {
-    if (builtin.os.tag == .wasi) {
-        // https://github.com/ziglang/zig/issues/5437
-        return error.SkipZigTest;
-    }
-
     var tmp = testing.tmpDir(.{});
     defer tmp.cleanup();
 
@@ -1320,11 +1315,6 @@ test "cache file and then recall it" {
 }
 
 test "check that changing a file makes cache fail" {
-    if (builtin.os.tag == .wasi) {
-        // https://github.com/ziglang/zig/issues/5437
-        return error.SkipZigTest;
-    }
-
     var tmp = testing.tmpDir(.{});
     defer tmp.cleanup();
 
@@ -1394,11 +1384,6 @@ test "check that changing a file makes cache fail" {
 }
 
 test "no file inputs" {
-    if (builtin.os.tag == .wasi) {
-        // https://github.com/ziglang/zig/issues/5437
-        return error.SkipZigTest;
-    }
-
     var tmp = testing.tmpDir(.{});
     defer tmp.cleanup();
 
@@ -1442,11 +1427,6 @@ test "no file inputs" {
 }
 
 test "Manifest with files added after initial hash work" {
-    if (builtin.os.tag == .wasi) {
-        // https://github.com/ziglang/zig/issues/5437
-        return error.SkipZigTest;
-    }
-
     var tmp = testing.tmpDir(.{});
     defer tmp.cleanup();