ci: fix: wasm build

This commit is contained in:
thesimplekid
2023-09-11 21:06:16 +01:00
parent c3437beb6f
commit 544a8d1f91
3 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,6 @@
#[cfg(all(target_arch = "wasm32", feature = "blocking"))]
compile_error!("`blocking` feature can't be enabled for WASM targets");
#[cfg(feature = "blocking")]
use once_cell::sync::Lazy;
#[cfg(feature = "blocking")]