Skip to content

Commit 3e9cbc1

Browse files
authored
document the directive
1 parent e0a9990 commit 3e9cbc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ settings:
188188
specified atomic widths, e.g. the test with `//@ needs-target-has-atomic: 8,
189189
16, ptr` will only run if it supports the comma-separated list of atomic
190190
widths.
191+
- `needs-dynamic-linking` - ignores if target does not support dynamic linking,
192+
meaning it cannot create `dylib` and `cdylib` crates types
191193

192194
The following directives will check LLVM support:
193195

0 commit comments

Comments
 (0)