From 04a69f9e1d1c4e7930b263cb0c61beb00064d616 Mon Sep 17 00:00:00 2001 From: poma Date: Tue, 26 Mar 2019 10:20:20 +0300 Subject: [PATCH] add compile error --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) 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::*;