pub fn resolve_imports(
module: &ModuleInfo,
imports: &[VMExtern],
context: &mut StoreObjects,
finished_dynamic_function_trampolines: &BoxedSlice<FunctionIndex, FunctionBodyPtr>,
memory_styles: &PrimaryMap<MemoryIndex, MemoryStyle>,
_table_styles: &PrimaryMap<TableIndex, TableStyle>,
) -> Result<Imports, LinkError>Expand description
This function allows to match all imports of a ModuleInfo with concrete definitions provided by
a Resolver, except for tags which are resolved separately through resolve_tags.
If all imports are satisfied returns an Imports instance required for a module instantiation.