From a08544c01986dd81f593fb80958e9d4e26a912e2 Mon Sep 17 00:00:00 2001 From: KokaKiwi Date: Wed, 30 Dec 2020 14:58:34 +0100 Subject: [PATCH] engine(module_resolver): Fix build for no_std --- src/engine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),