Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed May 22, 2023
1 parent e2e2900 commit 3a75b26
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/crab/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
// crates.io
use substrate_wasm_builder::WasmBuilder;

#[cfg(feature = "std")]
fn main() {
WasmBuilder::new().with_current_project().export_heap_base().import_memory().build()
}

#[cfg(not(feature = "std"))]
fn main() {}
4 changes: 4 additions & 0 deletions runtime/darwinia/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
// crates.io
use substrate_wasm_builder::WasmBuilder;

#[cfg(feature = "std")]
fn main() {
WasmBuilder::new().with_current_project().export_heap_base().import_memory().build()
}

#[cfg(not(feature = "std"))]
fn main() {}
4 changes: 4 additions & 0 deletions runtime/pangolin/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
// crates.io
use substrate_wasm_builder::WasmBuilder;

#[cfg(feature = "std")]
fn main() {
WasmBuilder::new().with_current_project().export_heap_base().import_memory().build()
}

#[cfg(not(feature = "std"))]
fn main() {}
4 changes: 4 additions & 0 deletions runtime/pangoro/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
// crates.io
use substrate_wasm_builder::WasmBuilder;

#[cfg(feature = "std")]
fn main() {
WasmBuilder::new().with_current_project().export_heap_base().import_memory().build()
}

#[cfg(not(feature = "std"))]
fn main() {}

0 comments on commit 3a75b26

Please sign in to comment.