Crates.io | wasi-update |
lib.rs | wasi-update |
version | 0.1.5 |
source | src |
created_at | 2024-02-17 18:12:01.79972 |
updated_at | 2024-05-10 21:46:49.05697 |
description | A simple tool to convert a WebAssembly module to a WASI component. |
homepage | https://github.com/jedisct1/wasi-update |
repository | https://github.com/jedisct1/wasi-update |
max_upload_size | |
id | 1143392 |
size | 432,899 |
A simple tool to convert a WebAssembly module (wasm32-wasi
, wasm32-freestanding
) to a WASI component (component model, WASI-preview2).
Precompiled binaries are available for:
Or if you really want to compile from source, install Rust and type:
rustup target add wasm32-unknown-unknown
cargo install wasi-update
Give the tool the WebAssembly module to process, and output file name, and that's it!
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