Skip to content

Commit dcc4c6c

Browse files
committed
rustc-dev-guide: document rmake.rs may not use unstable features
1 parent 4e178a7 commit dcc4c6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,9 @@ 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` may *not* use any nightly/unstable features, as they must be
419+
compilable by a stage 0 rustc that may be a beta or even stable rustc.
420+
418421
#### Quickly check if `rmake.rs` tests can be compiled
419422

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

0 commit comments

Comments
 (0)