Skip to content

Commit d221512

Browse files
committed
fix
1 parent f3bf2af commit d221512

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ check-runtimes:
5151
.PHONY: check-benchmarks
5252
check-benchmarks:
5353
SKIP_WASM_BUILD= cargo check --features wasm-bench --package module-evm
54-
SKIP_WASM_BUILD= cargo check --features runtime-benchmarks --no-default-features --target=wasm32v1-none -p mandala-runtime
55-
SKIP_WASM_BUILD= cargo check --features runtime-benchmarks --no-default-features --target=wasm32v1-none -p karura-runtime
56-
SKIP_WASM_BUILD= cargo check --features runtime-benchmarks --no-default-features --target=wasm32v1-none -p acala-runtime
54+
RUSTFLAGS="${RUSTFLAGS:-} --cfg substrate_runtime" SKIP_WASM_BUILD= cargo check --features runtime-benchmarks --no-default-features --target=wasm32v1-none -p mandala-runtime
55+
RUSTFLAGS="${RUSTFLAGS:-} --cfg substrate_runtime" SKIP_WASM_BUILD= cargo check --features runtime-benchmarks --no-default-features --target=wasm32v1-none -p karura-runtime
56+
RUSTFLAGS="${RUSTFLAGS:-} --cfg substrate_runtime" SKIP_WASM_BUILD= cargo check --features runtime-benchmarks --no-default-features --target=wasm32v1-none -p acala-runtime
5757

5858
.PHONY: check-integration-tests
5959
check-integration-tests:

0 commit comments

Comments
 (0)