add compile error

This commit is contained in:
poma 2019-03-26 10:20:20 +03:00
parent afa9326c81
commit 04a69f9e1d

@ -28,6 +28,9 @@ mod tests;
cfg_if! { cfg_if! {
if #[cfg(feature = "multicore")] { if #[cfg(feature = "multicore")] {
#[cfg(feature = "wasm")]
compile_error!("Multicore feature is not yet compatible with wasm target arch");
mod multicore; mod multicore;
mod worker { mod worker {
pub use crate::multicore::*; pub use crate::multicore::*;