Skip to content

Commit 22fa0c8

Browse files
Add new needs-backends tests annotations
1 parent 6c4ac45 commit 22fa0c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/directives.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ settings:
206206
`proc-macro` crate type.
207207
- `needs-target-std` — ignores if target platform does not have std support.
208208
- `ignore-backends` — ignores the listed backends, separated by whitespace characters.
209+
- `needs-backends` — only runs the test if current codegen backend is listed.
209210

210211
The following directives will check LLVM support:
211212

0 commit comments

Comments
 (0)