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>2024-04-06 21:41:09 +0100
committerGitHub <noreply@github.com>2024-04-06 22:41:09 +0200
commit66ed31ef05b345f7a1e10eebda1e8b60e111932a (patch)
tree5eec10c4b33db7aa51f3539caa931bb25d4cd81d /src/doc
parent308ee1b5f37cf46cc72354ece0294035f2c77491 (diff)
downloadrust-66ed31ef05b345f7a1e10eebda1e8b60e111932a.tar.gz
rust-66ed31ef05b345f7a1e10eebda1e8b60e111932a.zip
Explicitly mention compiletest directives are supported in rmake.rs (#1949)
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/compiletest.md3
1 files changed, 3 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 41c750a29e7..6321d4a7492 100644
--- a/src/doc/rustc-dev-guide/src/tests/compiletest.md
+++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md
@@ -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>