fn run_import_hooks(
hooks: &[Arc<dyn InstantiationHook>],
module: &Module,
store: &mut StoreMut<'_>,
) -> Result<(Imports, Vec<InstantiationState>)>Expand description
Runs the import phase of hooks, returning the merged imports and the
per-hook states, aligned by index with hooks.