A simple tool to convert a WebAssembly module (wasm32-wasi
, wasm32-freestanding
) to a WASI component (component model, WASI-preview2).
Install Rust, and type:
cargo install wasi-update
or clone the repository and type:
make
A simple tool to convert a WebAssembly module to a WASI component.
Usage: wasi-update --input <FILE> --output <FILE>
Options:
-i, --input <FILE> Input file (regular module)
-o, --output <FILE> Output file (component)
-h, --help Print help
-V, --version Print version