Skip to content

Commit

Permalink
Merge pull request #330 from subspace/fix-secondary-runtime-metadata
Browse files Browse the repository at this point in the history
Fix the secondary runtime metadata
  • Loading branch information
liuchengxu authored Apr 7, 2022
2 parents ace315e + 1729f46 commit 574c9fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cumulus/parachain-template/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
// Skip in regular `no-std` environment, such that we don't cause conflicts of globally exported
// functions
#[cfg(any(feature = "wasm-builder", feature = "std"))]
mod r#impl;
mod runtime;

// Skip in regular `no-std` environment, such that we don't cause conflicts of globally exported
// functions
#[cfg(any(feature = "wasm-builder", feature = "std"))]
pub use r#impl::*;
pub use runtime::*;

// Make the WASM binary available, except in wasm builder environment.
#[cfg(not(feature = "wasm-builder"))]
Expand Down
4 changes: 2 additions & 2 deletions cumulus/test/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
// Skip in regular `no-std` environment, such that we don't cause conflicts of globally exported
// functions
#[cfg(any(feature = "wasm-builder", feature = "std"))]
mod r#impl;
mod runtime;

// Skip in regular `no-std` environment, such that we don't cause conflicts of globally exported
// functions
#[cfg(any(feature = "wasm-builder", feature = "std"))]
pub use r#impl::*;
pub use runtime::*;

// Make the WASM binary available, except in wasm builder environment.
#[cfg(not(feature = "wasm-builder"))]
Expand Down
File renamed without changes.

0 comments on commit 574c9fa

Please sign in to comment.