From 0b431aca386eda700d299c21131e528a58885f08 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sat, 6 Apr 2024 12:57:34 -0700 Subject: [PATCH] Add needs-threads header command (#1943) --- src/doc/rustc-dev-guide/src/tests/headers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/rustc-dev-guide/src/tests/headers.md b/src/doc/rustc-dev-guide/src/tests/headers.md index 5f30b0fbf3cf..fe74eb9152fa 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: