Skip to main content

add_named_to_linker_with_options

Function add_named_to_linker_with_options 

Source
pub fn add_named_to_linker_with_options<T>(
    linker: &mut Linker<T>,
    _options: &LinkOptions,
    component: &Component,
    lookup: impl FnMut(Interface, &str) -> Result<NamedId>,
) -> Result<()>
where T: WasiNamedView + 'static,
Available on crate feature p3 only.
Expand description

Same as add_named_to_linker except LinkOptions can be specified to configure interfaces that are added.