Skip to content

Commit 7a3c9bb

Browse files
committed
inhibit proc-macro2 nightly detection
1 parent babf2d4 commit 7a3c9bb

File tree

1 file changed

+1
-0
lines changed
  • tests/run-make/rustc-crates-on-stable

1 file changed

+1
-0
lines changed

tests/run-make/rustc-crates-on-stable/rmake.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ fn main() {
99
// This is required to allow using nightly cargo features (public-dependency) with beta
1010
// cargo
1111
.env("RUSTC_BOOTSTRAP", "1")
12+
.env("RUSTC_STAGE", "0") // Ensure `proc-macro2`'s nightly detection is disabled
1213
.env("RUSTC", rustc_path())
1314
.arg("build")
1415
.arg("--manifest-path")

0 commit comments

Comments
 (0)