diff --git a/substrate/frame/revive/fixtures/build.rs b/substrate/frame/revive/fixtures/build.rs
index eca547bc6ddd0ac6f7856a1ae60804b9013b4dda..fe420ba40da6318e722f608c409de34b414379de 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",