about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2024-08-24 20:34:46 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2024-08-26 09:52:10 +0000
commit7957140f3ef7fbbaf9696d8fbbced1ebe6128c5b (patch)
tree359de19b45d747d1ae5e5b6df652d2a304b09c5b /tests
parent893413de5b3e574cee9e2e2cc36524a485b9ea83 (diff)
inhibit proc-macro2 nightly detection
Diffstat (limited to 'tests')
-rw-r--r--tests/run-make/rustc-crates-on-stable/rmake.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run-make/rustc-crates-on-stable/rmake.rs b/tests/run-make/rustc-crates-on-stable/rmake.rs
index 67461788ee4..503b0c6ead4 100644
--- a/tests/run-make/rustc-crates-on-stable/rmake.rs
+++ b/tests/run-make/rustc-crates-on-stable/rmake.rs
@@ -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")