Skip to content

Commit

Permalink
inhibit proc-macro2 nightly detection
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Aug 26, 2024
1 parent 893413d commit 7957140
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/run-make/rustc-crates-on-stable/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ fn main() {
// This is required to allow using nightly cargo features (public-dependency) with beta
// cargo
.env("RUSTC_BOOTSTRAP", "1")
.env("RUSTC_STAGE", "0") // Ensure `proc-macro2`'s nightly detection is disabled
.env("RUSTC", rustc_path())
.arg("build")
.arg("--manifest-path")
Expand Down

0 comments on commit 7957140

Please sign in to comment.