/wasi-data-sharing

A demo of how to pass data back and forth between wasmtime and webassembly modules

Primary LanguageRustMIT LicenseMIT

Sharing data between hosts with stdio

This repository has an accompanying blog post.

Running

1. Build the WASM

$ cargo build --target wasm32-wasi

2. Run the example

$ cargo run --example wasi