Remove the no_std feature from the WASM builder (#3640)

* Remove the no_std feature from the WASM builder

* Address review

* More fixing

* Address review again

* Fix missing Cargo.lock
This commit is contained in:
Pierre Krieger
2019-09-18 22:00:44 +02:00
committed by Bastian Köcher
parent 49ad0dbdff
commit 9ea3d8fc52
14 changed files with 11 additions and 26 deletions
@@ -55,4 +55,3 @@ std = [
"offchain-primitives/std",
"substrate-session/std",
]
no_std = []
+1 -1
View File
@@ -19,7 +19,7 @@ use wasm_builder_runner::{build_current_project_with_rustflags, WasmBuilderSourc
fn main() {
build_current_project_with_rustflags(
"wasm_binary.rs",
WasmBuilderSource::Crates("1.0.6"),
WasmBuilderSource::Crates("1.0.7"),
// This instructs LLD to export __heap_base as a global variable, which is used by the
// external memory allocator.
"-Clink-arg=--export=__heap_base",