Do not compile wasm_api module when not needed. (#3934)

This otherwise generates some warnings which leads to errors in CI:
https://gitlab.parity.io/parity/cumulus/-/jobs/1141589
This commit is contained in:
Bastian Köcher
2021-09-26 11:21:22 +02:00
committed by GitHub
parent 315f69dd31
commit 5514e637ac
+1
View File
@@ -47,6 +47,7 @@
pub mod primitives;
#[cfg(all(not(feature = "std"), feature = "wasm-api"))]
mod wasm_api;
#[cfg(all(not(feature = "std"), feature = "wasm-api"))]