Explicitly mention compiletest directives are supported in rmake.rs (#1949)

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-04-06 21:41:09 +01:00 committed by GitHub
parent 55f79b5a87
commit b77a34bd46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -396,6 +396,9 @@ with the `run_make_support` library linked in.
If you need new utilities or functionality, consider extending and improving
the [`run_make_support`] library.
Compiletest directives like `//@ only-<target>` or `//@ ignore-<target>` are supported in
`rmake.rs`, like in UI tests.
Two `run-make` tests are ported over to Rust recipes as examples:
- <https://github.com/rust-lang/rust/tree/master/tests/run-make/CURRENT_RUSTC_VERSION>