From ea51bbf996c6e79f674f751491292309eb9eead9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= <git@kchr.de> Date: Sat, 8 Feb 2025 13:03:02 +0100 Subject: [PATCH] pallet-revive-fixtures: Support compilation on stable (#7419) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 <alex.theissen@me.com> --- substrate/frame/revive/fixtures/build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/frame/revive/fixtures/build.rs b/substrate/frame/revive/fixtures/build.rs index eca547bc6dd..fe420ba40da 100644 --- a/substrate/frame/revive/fixtures/build.rs +++ b/substrate/frame/revive/fixtures/build.rs @@ -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", -- GitLab