mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 22:13:39 +00:00
wasm: add support for GOOS=wasip1
This adds true GOOS=wasip1 support in addition to our existing -target=wasi support. The old support for WASI isn't removed, but should be treated as deprecated and will likely be removed eventually to reduce the test burden.
This commit is contained in:
committed by
Ron Evans
parent
f4375d0452
commit
a545f17d2e
+1
-1
@@ -6,7 +6,7 @@
|
||||
// fairly similar: we use fdopendir, fdclosedir, and readdir from wasi-libc in
|
||||
// a similar way that the darwin code uses functions from libc.
|
||||
|
||||
//go:build wasi
|
||||
//go:build wasi || wasip1
|
||||
|
||||
package os
|
||||
|
||||
|
||||
Reference in New Issue
Block a user