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
{{ message }}
This repository has been archived by the owner on May 11, 2020. It is now read-only.
What happens if you rename test.wasm to go.wasm and run it with wasm-run go.wasm ?
In any case, the current implementation of the Go compiler produces wasm that expects to be run in a browser - I would expect some error unless you mock in the equivalent APIs as what the browser provides to webassembly code (in the form of function tables).
Go 1.11 is released an provides native wasm support. So I tried the following:
Given the following Go program
main.go
is compiled with Go 1.11 to wasm
and try to run it with
wasm-run test.wasm
I get the following error:
So my question is, where do I get the file
go.wasm
? Would this be something like thewasm_exec.js
, which is provided with Go 1.11?The text was updated successfully, but these errors were encountered: