#wasi #wasm-module #component #wit #preview2

app wasi-update

A simple tool to convert a WebAssembly module to a WASI component

3 releases

new 0.1.2 Apr 19, 2024
0.1.1 Feb 17, 2024
0.1.0 Feb 17, 2024

#251 in WebAssembly

Download history 161/week @ 2024-02-12 64/week @ 2024-02-19 38/week @ 2024-02-26 8/week @ 2024-03-11 31/week @ 2024-04-01 123/week @ 2024-04-15

154 downloads per month

Apache-2.0 WITH LLVM-exception

285KB
504 lines

WASI Update

A simple tool to convert a WebAssembly module (wasm32-wasi, wasm32-freestanding) to a WASI component (component model, WASI-preview2).

Installation

Install Rust, and type:

rustup target add wasm32-unknown-unknown
cargo install wasi-update

or clone the repository and type:

rustup target add wasm32-unknown-unknown
make

Usage

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

Dependencies

~7–18MB
~232K SLoC