WASI-common wrappers for Lucet
A crate to use the reference WASI implementation in WebAssembly modules run with Lucet.
- Call
wasi_common_lucet::export_wasi_funcs()
once in order to have the symbols exported - Create a new isntance with
WasiCtx::new()
. Note that the function signature slightly differs from thelucet-wasi
one. - Register it into Lucet instances using
insert_embed_ctx()
.
use WasiCtx;