Open twitchyliquid64 opened 5 years ago
yep, definitely.
something to look at, too:
I'm thinking of doing the following:
github.com/go-interpreter/wagon/wasi
wasi.MakeHostEnvironment
host.WASIResolver
as the wasm.ResolveFunc
in a call to wasm.ReadModule
, which will load the specified module + resolve the WASI imports for you.Thoughts?
This is also a relevant doc, which enumerates the API surface we need to provide to support WASI.
SGTM.
Saw this on HN: https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/
We should consider implementing a package that exposes the WASI API.