diff --git a/src/engine.rs b/src/engine.rs index bf36d028..972f135a 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -785,7 +785,7 @@ impl Engine { module_resolver: Box::new(crate::module::resolvers::FileModuleResolver::new()), #[cfg(not(feature = "no_module"))] #[cfg(any(feature = "no_std", target_arch = "wasm32",))] - module_resolver: None, + module_resolver: Box::new(crate::module::resolvers::DummyModuleResolver::new()), type_names: Default::default(), disabled_symbols: Default::default(),