Files
pezkuwi-subxt/substrate/bin/node-template/runtime/build.rs
T
2020-01-21 22:10:26 +01:00

12 lines
358 B
Rust

use wasm_builder_runner::{build_current_project_with_rustflags, WasmBuilderSource};
fn main() {
build_current_project_with_rustflags(
"wasm_binary.rs",
WasmBuilderSource::Crates("1.0.9"),
// This instructs LLD to export __heap_base as a global variable, which is used by the
// external memory allocator.
"-Clink-arg=--export=__heap_base",
);
}