Merge pull request #320 from KokaKiwi/no-std-module-resolver
engine(module_resolver): Fix build for no_std
This commit is contained in:
commit
0ea23859b2
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user