Sibling of WASI (not a subclass). Composes a WASI instance internally to
service wasi_snapshot_preview1 and wasi_unstable imports; all wasix_32v1
imports are stubbed to ENOSYS this slice. Memory is owned by WASIX and
shared with the internal WASI instance.
Usage mirrors WASI.start():
const result = await WASIX.start(fetch('/bin/hello.wasm'), new WASIXContext({ … }));
WASIX runtime for the browser.
Sibling of WASI (not a subclass). Composes a WASI instance internally to service wasi_snapshot_preview1 and wasi_unstable imports; all wasix_32v1 imports are stubbed to ENOSYS this slice. Memory is owned by WASIX and shared with the internal WASI instance.
Usage mirrors WASI.start():
const result = await WASIX.start(fetch('/bin/hello.wasm'), new WASIXContext({ … }));