Skip to content

Commit

Permalink
Document needs-target-has-atomic directive (#2154)
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu authored Dec 5, 2024
1 parent b21d99b commit e312507
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ settings:
assertions.
- `needs-rustc-debug-assertions` — ignores if rustc was not built with debug
assertions.
- `needs-target-has-atomic` — ignores if target does not have support for all
specified atomic widths, e.g. the test with `//@ needs-target-has-atomic: 8,
16, ptr` will only run if it supports the comma-separated list of atomic
widths.

The following directives will check LLVM support:

Expand Down

0 comments on commit e312507

Please sign in to comment.