diff --git a/src/lib.rs b/src/lib.rs index 5273763..f730ec4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,6 +28,9 @@ mod tests; cfg_if! { if #[cfg(feature = "multicore")] { + #[cfg(feature = "wasm")] + compile_error!("Multicore feature is not yet compatible with wasm target arch"); + mod multicore; mod worker { pub use crate::multicore::*;