mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 19:01:08 +00:00
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:
committed by
Bastian Köcher
parent
49ad0dbdff
commit
9ea3d8fc52
@@ -55,4 +55,3 @@ std = [
|
||||
"offchain-primitives/std",
|
||||
"substrate-session/std",
|
||||
]
|
||||
no_std = []
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user