wasmtime_wasi::preview0

Function add_to_linker_async

source
pub fn add_to_linker_async<T: Send>(
    linker: &mut Linker<T>,
    f: impl Fn(&mut T) -> &mut WasiP1Ctx + Copy + Send + Sync + 'static,
) -> Result<()>
Available on crate feature preview1 only.