wasmtime_wasi::preview0

Function add_to_linker_sync

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