0.1.3 • Published 3 years ago

empty-wasi v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

simple-wasi

Empty WASI implementation.

No I/O supported. But simple.

Usage

import { EmptyWasi } from "empty-wasi";

const wasi = new EmptyWasi();
const bc = do_fetch_wasm_binary()
const module = await WebAssembly.compile(bc);
const instance = await WebAssembly.instantiate(module, wasi.getImports(module));
const exitcode = wasi.start(instance);

License

MIT

Author

yskszk63

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago