about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-02-24 20:14:25 +0800
committerJieyou Xu <jieyouxu@outlook.com>2025-03-07 19:09:41 +0800
commitc9c572cd927b223d22280ca606086d64d20b733b (patch)
tree4a23584148d594ba60d5b47e232eca1f96f49d32 /src/doc
parent224f287f3226a89eff12ff3cbf0ca4e64c96d351 (diff)
downloadrust-c9c572cd927b223d22280ca606086d64d20b733b.tar.gz
rust-c9c572cd927b223d22280ca606086d64d20b733b.zip
Document that `rmake.rs`/`run-make-support` may not use unstable features
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/compiletest.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md
index 2905e470fab..a6996e39822 100644
--- a/src/doc/rustc-dev-guide/src/tests/compiletest.md
+++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md
@@ -415,6 +415,10 @@ Compiletest directives like `//@ only-<target>` or `//@ ignore-<target>` are
 supported in `rmake.rs`, like in UI tests. However, revisions or building
 auxiliary via directives are not currently supported.
 
+`rmake.rs` and `run-make-support` may *not* use any nightly/unstable features,
+as they must be compilable by a stage 0 rustc that may be a beta or even stable
+rustc.
+
 #### Quickly check if `rmake.rs` tests can be compiled
 
 You can quickly check if `rmake.rs` tests can be compiled without having to