Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 233c158

Browse files
atheibredamatt
authored andcommitted
Pass through runtime-benchmark feature (#6110)
1 parent c169279 commit 233c158

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

cli/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ cli = [
5656
"polkadot-client",
5757
"polkadot-node-core-pvf",
5858
]
59-
runtime-benchmarks = ["service/runtime-benchmarks", "polkadot-node-metrics/runtime-benchmarks"]
59+
runtime-benchmarks = [
60+
"service/runtime-benchmarks",
61+
"polkadot-node-metrics/runtime-benchmarks",
62+
"polkadot-performance-test?/runtime-benchmarks"
63+
]
6064
trie-memory-tracker = ["sp-trie/memory-tracker"]
6165
full-node = ["service/full-node"]
6266
try-runtime = ["service/try-runtime"]

node/test/performance-test/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ kusama-runtime = { path = "../../../runtime/kusama" }
1919
[[bin]]
2020
name = "gen-ref-constants"
2121
path = "src/gen_ref_constants.rs"
22+
23+
[features]
24+
runtime-benchmarks = ["kusama-runtime/runtime-benchmarks"]

0 commit comments

Comments
 (0)