Skip to content

Commit

Permalink
pallet-revive-fixtures: Support compilation on stable (#7419)
Browse files Browse the repository at this point in the history
Let's burry out the old `RUSTC_BOOTSTRAP` hack. This is required when
you don't use `rustup` which automatically switches to the nightly
toolchain when it detects nightly CLI args.

Co-authored-by: Alexander Theißen <[email protected]>
  • Loading branch information
bkchr and athei authored Feb 8, 2025
1 parent 10b77c9 commit ea51bbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions substrate/frame/revive/fixtures/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ fn invoke_build(current_dir: &Path) -> Result<()> {
.env("PATH", env::var("PATH").unwrap_or_default())
.env("CARGO_ENCODED_RUSTFLAGS", encoded_rustflags)
.env("RUSTUP_HOME", env::var("RUSTUP_HOME").unwrap_or_default())
// Support compilation on stable rust
.env("RUSTC_BOOTSTRAP", "1")
.args([
"build",
"--release",
Expand Down

0 comments on commit ea51bbf

Please sign in to comment.