Skip to content

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

Notifications You must be signed in to change notification settings

jedisct1/wasi-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Usage

Give the tool the WebAssembly module to process, and output file name, and that's it!

Example:

wasi-update -i module.wasm -o component.wasm

Compilation from source

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

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages