diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2025-02-11 21:21:04 +0200 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang.mbambo@ferrous-systems.com> | 2025-02-11 22:05:40 +0200 |
| commit | 53456200568d3d8647b390fd8933be12f646aaee (patch) | |
| tree | 0b33703e668729c5ae635ce7ebc1d4c1fba93eef | |
| parent | 69482e8e5a5fa1441615b015ac2f59178d944696 (diff) | |
| download | rust-53456200568d3d8647b390fd8933be12f646aaee.tar.gz rust-53456200568d3d8647b390fd8933be12f646aaee.zip | |
document the directive
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/directives.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md index 9e0f8f9c279..b6209bcb2d8 100644 --- a/src/doc/rustc-dev-guide/src/tests/directives.md +++ b/src/doc/rustc-dev-guide/src/tests/directives.md @@ -192,6 +192,8 @@ settings: 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. +- `needs-dynamic-linking` - ignores if target does not support dynamic linking + (which is orthogonal to it being unable to create `dylib` and `cdylib` crate types) The following directives will check LLVM support: |
