Files
pezkuwi-subxt/polkadot/runtime/wasm/Cargo.toml
T
Sergey Pepyakin 521a1abf89 Fix wasm build (#102)
* Reserve pages for heap at initialization time

Since it is freshly allocated memory it won't collide with stack, data or whatever else.

* Compile all wasm files with LTO.

Modules compiled without LTO contain undesired imports and outright invalid (e.g. type mismatches inside the wasm).
2018-03-21 15:44:14 +08:00

36 lines
1.1 KiB
TOML

[package]
name = "polkadot-runtime"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
[lib]
crate-type = ["cdylib"]
[dependencies]
substrate-codec = { path = "../../../substrate/codec", default-features = false }
substrate-runtime-std = { path = "../../../substrate/runtime-std", default-features = false }
substrate-runtime-io = { path = "../../../substrate/runtime-io", default-features = false }
substrate-runtime-support = { path = "../../../substrate/runtime-support", default-features = false }
substrate-primitives = { path = "../../../substrate/primitives", default-features = false }
substrate-misbehavior-check = { path = "../../../substrate/misbehavior-check", default-features = false }
polkadot-primitives = { path = "../../primitives", default-features = false }
[features]
default = []
std = [
"substrate-codec/std",
"substrate-runtime-io/std",
"substrate-runtime-std/std",
"substrate-runtime-support/std",
"substrate-primitives/std",
"substrate-misbehavior-check/std",
"polkadot-primitives/std",
]
[profile.release]
panic = "abort"
lto = true
[workspace]
members = []