Skip to content

Commit e774263

Browse files
ggwpezathei
andauthored
Fix revive-fixtures build script (#8980)
The .polkavm files are not recompiled when deleting `target/pallet-revive-fixtures`. I assume that CI is not caching that folder or the .polkavm file extension. This leads to the `include_bytes!` macro to not finding these files. Tested it here polkadot-fellows/runtimes#785 --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
1 parent cc5065d commit e774263

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

prdoc/pr_8980.prdoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: Fix revive-fixtures build script
2+
doc:
3+
- audience: Runtime Dev
4+
description: |-
5+
Fix compilation issue with pallet-revive-fixtures build.rs script.
6+
crates:
7+
- name: pallet-revive-fixtures
8+
bump: patch

substrate/frame/revive/fixtures/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ pub fn main() -> Result<()> {
294294
println!("cargo::rerun-if-env-changed={OVERRIDE_RUSTUP_TOOLCHAIN_ENV_VAR}");
295295
println!("cargo::rerun-if-env-changed={OVERRIDE_STRIP_ENV_VAR}");
296296
println!("cargo::rerun-if-env-changed={OVERRIDE_OPTIMIZE_ENV_VAR}");
297+
println!("cargo::rerun-if-changed={}", out_dir.display());
297298

298299
// the fixtures have a dependency on the uapi crate
299300
println!("cargo::rerun-if-changed={}", fixtures_dir.display());

0 commit comments

Comments
 (0)