[][src]Function wasmer_engine::resolve_imports

pub fn resolve_imports(
    module: &ModuleInfo,
    resolver: &dyn Resolver,
    finished_dynamic_function_trampolines: &BoxedSlice<FunctionIndex, FunctionBodyPtr>,
    memory_styles: &PrimaryMap<MemoryIndex, MemoryStyle>,
    _table_styles: &PrimaryMap<TableIndex, TableStyle>
) -> Result<Imports, LinkError>

This function allows to match all imports of a ModuleInfo with concrete definitions provided by a Resolver.

If all imports are satisfied returns an Imports instance required for a module instantiation.