wasi-update

Crates.iowasi-update
lib.rswasi-update
version0.1.5
sourcesrc
created_at2024-02-17 18:12:01.79972
updated_at2024-05-10 21:46:49.05697
descriptionA simple tool to convert a WebAssembly module to a WASI component.
homepagehttps://github.com/jedisct1/wasi-update
repositoryhttps://github.com/jedisct1/wasi-update
max_upload_size
id1143392
size432,899
Frank Denis (jedisct1)

documentation

README

WASI Update

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

Installation

Precompiled binaries are available for:

  • Linux/x86_64 (.tar.gz and .deb)
  • Linux/aarch64
  • MacOS/aarch64
  • Windows/x86_64
  • Windows/aarch64
  • WebAssembly (WASI)

Or if you really want to compile from source, install Rust and type:

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

Usage

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
Commit count: 52

cargo fmt