Document `//@ needs-target-std` in rustc-dev-guide

This commit is contained in:
Jieyou Xu 2025-06-10 22:17:57 +08:00
parent 85315be387
commit b8b2ca49e0
No known key found for this signature in database
GPG Key ID: 045B995028EA6AFC
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ settings:
`//@ needs-crate-type: cdylib, proc-macro` will cause the test to be ignored
on `wasm32-unknown-unknown` target because the target does not support the
`proc-macro` crate type.
- `needs-target-std` — ignores if target platform does not have std support.
The following directives will check LLVM support: