Skip to content

Instantly share code, notes, and snippets.

@akyoto
Last active May 28, 2019 04:03
Show Gist options
  • Save akyoto/1a2844f568c052c564ad8a19ab650ec6 to your computer and use it in GitHub Desktop.
Save akyoto/1a2844f568c052c564ad8a19ab650ec6 to your computer and use it in GitHub Desktop.
Run wasm locally in Go
GOOS=js GOARCH=wasm go run -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec" .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment