Universal API
Closed Oct 4, 2022
100% complete
The code generated by wit-pack
should give users access to all the commands and libraries (with WIT bindings) in a package.
Our end goal is to enable a workflow like this:
import Wabt from "wabt";
const wabt = new Wabt();
// you can access all top-level functions using bindings generated via wit-bindgen
const compiledWasm = await wabt.bindings.libwabt.w…
The code generated by wit-pack
should give users access to all the commands and libraries (with WIT bindings) in a package.
Our end goal is to enable a workflow like this:
import Wabt from "wabt";
const wabt = new Wabt();
// you can access all top-level functions using bindings generated via wit-bindgen
const compiledWasm = await wabt.bindings.libwabt.wat2wasm("(module)");
// or commands via WASI
const output = await wabt.commands.wat2wasm.run("./path/to/file.wat --verbose");
This milestone is closed.
No open issues remain. View closed issues or see open milestones in this repository.