wasmtime_wasi::bindings::sync::cli::exit

Function add_to_linker

Source
pub fn add_to_linker<T, U>(
    linker: &mut Linker<T>,
    options: &LinkOptions,
    get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
) -> Result<()>
where U: Host + Send, T: Send,