You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ GOOS=wasip1 GOARCH=wasm tinygo build -o output.wasm
$ wasmtime run output.wasm
Error: failed to run main module `output.wasm`
Caused by:
0: failed to instantiate "output.wasm"
1: unknown import: `gojs::runtime.ticks` has not been defined
Using -target works:
$ tinygo build -o output.wasm -target=wasip1
$ wasmtime run output.wasm
[runs app as expected]
Has support for GOOS/GOARCH been removed?
The text was updated successfully, but these errors were encountered:
According to https://tinygo.org/docs/guides/webassembly/wasi/, I can use
GOOS=wasip1 GOARCH=wasm
just like GoLang supports. But it doesn't appear to work.Using -target works:
Has support for GOOS/GOARCH been removed?
The text was updated successfully, but these errors were encountered: