Use target_family for wasm.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#![cfg(not(feature = "no_std"))]
|
||||
#![cfg(not(target_arch = "wasm32"))]
|
||||
#![cfg(not(target_arch = "wasm64"))]
|
||||
#![cfg(not(target_family = "wasm"))]
|
||||
|
||||
use crate::func::native::shared_write_lock;
|
||||
use crate::{
|
||||
|
@@ -11,8 +11,7 @@ mod stat;
|
||||
pub use collection::ModuleResolversCollection;
|
||||
pub use dummy::DummyModuleResolver;
|
||||
#[cfg(not(feature = "no_std"))]
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(not(target_arch = "wasm64"))]
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
pub use file::FileModuleResolver;
|
||||
pub use stat::StaticModuleResolver;
|
||||
|
||||
|
Reference in New Issue
Block a user