Skip to content

Commit df234c0

Browse files
authored
Document needs-target-has-atomic directive (rust-lang#2154)
1 parent 8df3580 commit df234c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/tests/directives.md

+4
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ settings:
183183
assertions.
184184
- `needs-rustc-debug-assertions` — ignores if rustc was not built with debug
185185
assertions.
186+
- `needs-target-has-atomic` — ignores if target does not have support for all
187+
specified atomic widths, e.g. the test with `//@ needs-target-has-atomic: 8,
188+
16, ptr` will only run if it supports the comma-separated list of atomic
189+
widths.
186190

187191
The following directives will check LLVM support:
188192

0 commit comments

Comments
 (0)