Skip to content

Commit 3d2ee5e

Browse files
committed
rustc-dev-guide: document rmake.rs may not use unstable features
1 parent 0dc4978 commit 3d2ee5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/doc/rustc-dev-guide/src/tests/compiletest.md

+3
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,9 @@ Compiletest directives like `//@ only-<target>` or `//@ ignore-<target>` are
424424
supported in `rmake.rs`, like in UI tests. However, revisions or building
425425
auxiliary via directives are not currently supported.
426426

427+
`rmake.rs` may *not* use any nightly/unstable features, as they must be
428+
compilable by a stage 0 rustc that may be a beta or even stable rustc.
429+
427430
Two `run-make` tests are ported over to Rust recipes as examples:
428431

429432
- <https://github.com/rust-lang/rust/tree/master/tests/run-make/CURRENT_RUSTC_VERSION>

0 commit comments

Comments
 (0)