wasmer-wasi
This crate provides the necessary imports to use WASI easily from Wasmer.
Usage
use ;
use WasiState;
let store = default;
let module = from_file?;
// Create the WasiEnv
let wasi_env = new
.args
.env
.finalize?;
let import_object = wasi_env.import_object?;
let instance = new?;
let start = instance.exports.get_function?;
start.call?;
Note: you can find a full working example using WASI here.