Skip to content

Commit 13185f8

Browse files
committed
os_anyos_test: no fstat on wasm
1 parent bb53406 commit 13185f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/os/os_anyos_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ func equal(name1, name2 string) (r bool) {
7171
}
7272

7373
func TestFstat(t *testing.T) {
74+
if runtime.GOARCH == "wasm" {
75+
t.Log("TODO: TestFstat: File.Stat unimplemented, skipping")
76+
return
77+
}
7478
sfname := "TestFstat"
7579
path := TempDir() + "/" + sfname
7680
payload := writeFile(t, path, O_CREATE|O_TRUNC|O_RDWR, "Hello")

0 commit comments

Comments
 (0)