Skip to content

Commit c5b8123

Browse files
committed
Document //@ needs-target-std in rustc-dev-guide
1 parent e10b2f6 commit c5b8123

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/rustc-dev-guide/src/tests/directives.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ settings:
202202
`//@ needs-crate-type: cdylib, proc-macro` will cause the test to be ignored
203203
on `wasm32-unknown-unknown` target because the target does not support the
204204
`proc-macro` crate type.
205+
- `needs-target-std` — ignores if target platform does not have std support.
205206

206207
The following directives will check LLVM support:
207208

0 commit comments

Comments
 (0)