Only use substrate-wasm-builder when std feature is enabled. (#12790)

Co-authored-by: parity-processbot <>
This commit is contained in:
Nazar Mokrynskyi
2023-01-06 12:24:12 +02:00
committed by GitHub
parent 9fe5dd5f59
commit dccef86edb
13 changed files with 109 additions and 80 deletions
+2 -1
View File
@@ -113,7 +113,7 @@ pallet-vesting = { version = "4.0.0-dev", default-features = false, path = "../.
pallet-whitelist = { version = "4.0.0-dev", default-features = false, path = "../../../frame/whitelist" }
[build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder" }
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder", optional = true }
[features]
default = ["std"]
@@ -205,6 +205,7 @@ std = [
"sp-io/std",
"pallet-child-bounties/std",
"pallet-alliance/std",
"substrate-wasm-builder",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",