engine(module_resolver): Fix build for no_std
This commit is contained in:
parent
253e43da30
commit
a08544c019
@ -785,7 +785,7 @@ impl Engine {
|
|||||||
module_resolver: Box::new(crate::module::resolvers::FileModuleResolver::new()),
|
module_resolver: Box::new(crate::module::resolvers::FileModuleResolver::new()),
|
||||||
#[cfg(not(feature = "no_module"))]
|
#[cfg(not(feature = "no_module"))]
|
||||||
#[cfg(any(feature = "no_std", target_arch = "wasm32",))]
|
#[cfg(any(feature = "no_std", target_arch = "wasm32",))]
|
||||||
module_resolver: None,
|
module_resolver: Box::new(crate::module::resolvers::DummyModuleResolver::new()),
|
||||||
|
|
||||||
type_names: Default::default(),
|
type_names: Default::default(),
|
||||||
disabled_symbols: Default::default(),
|
disabled_symbols: Default::default(),
|
||||||
|
Loading…
Reference in New Issue
Block a user