summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2024-04-06 12:57:34 -0700
committerGitHub <noreply@github.com>2024-04-06 20:57:34 +0100
commit0b431aca386eda700d299c21131e528a58885f08 (patch)
tree9636b7c0ea6a230edd57855873b35386a22faa82 /src/doc/rustc-dev-guide
parent62ad597fcf026d8dbb63edb75e299af04c3b7c3a (diff)
downloadrust-0b431aca386eda700d299c21131e528a58885f08.tar.gz
rust-0b431aca386eda700d299c21131e528a58885f08.zip
Add needs-threads header command (#1943)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/headers.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/headers.md b/src/doc/rustc-dev-guide/src/tests/headers.md
index 5f30b0fbf3c..fe74eb9152f 100644
--- a/src/doc/rustc-dev-guide/src/tests/headers.md
+++ b/src/doc/rustc-dev-guide/src/tests/headers.md
@@ -154,6 +154,7 @@ The following header commands will check rustc build settings and target setting
 * `needs-unwind` — ignores if the target does not support unwinding
 * `needs-rust-lld` — ignores if the rust lld support is not enabled
   (`rust.lld = true` in `config.toml`)
+* `needs-threads` — ignores if the target does not have threading support
 
 The following header commands will check LLVM support: