Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Do not compile wasm_api module when not needed. (#3934)
Browse files Browse the repository at this point in the history
This otherwise generates some warnings which leads to errors in CI:
https://gitlab.parity.io/parity/cumulus/-/jobs/1141589
  • Loading branch information
bkchr authored Sep 26, 2021
1 parent db5edf6 commit cedd601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parachain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))]
Expand Down

0 comments on commit cedd601

Please sign in to comment.