Skip to content

Commit c9c572c

Browse files
committed
Document that rmake.rs/run-make-support may not use unstable features
1 parent 224f287 commit c9c572c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/rustc-dev-guide/src/tests/compiletest.md

+4
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,10 @@ Compiletest directives like `//@ only-<target>` or `//@ ignore-<target>` are
415415
supported in `rmake.rs`, like in UI tests. However, revisions or building
416416
auxiliary via directives are not currently supported.
417417

418+
`rmake.rs` and `run-make-support` may *not* use any nightly/unstable features,
419+
as they must be compilable by a stage 0 rustc that may be a beta or even stable
420+
rustc.
421+
418422
#### Quickly check if `rmake.rs` tests can be compiled
419423

420424
You can quickly check if `rmake.rs` tests can be compiled without having to

0 commit comments

Comments
 (0)