Repository navigation
WebAssembly: document running wasip1 binaries in the browser - #117
awinashkori wants to merge 1 commit into
Conversation
Added browser usage instructions for WASI with example code.
|
This PR (HEAD: 31d6be0) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/wiki/+/863783. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/863783. |
The WASIP1 Runtime Configuration section covers Wasmtime, Wazero and
Node.js. This adds the browser, using browser_wasi_shim with the same
"/" preopen and PWD=/ setting. Tested with Go 1.27 in Chromium:
os.Getwd returns "/", os.IsNotExist works for missing files, and
goroutines with time.Sleep run.