Function add_to_linker

Source
pub fn add_to_linker<T: 'static>(
    l: &mut Linker<T>,
    f: fn(&mut T) -> WasiConfig<'_>,
) -> Result<()>
Expand description

Add all the wasi-config world’s interfaces to a [wasmtime::component::Linker].