Document needs-* compiletest directives

This commit is contained in:
Tomasz Miąsko 2020-06-08 00:00:00 +00:00 committed by Who? Me?!
parent 1bd1035ef5
commit df23757b09
1 changed files with 7 additions and 0 deletions

View File

@ -185,6 +185,13 @@ source.
errors when usage of a gated feature is attempted without the proper
`#![feature(X)]` tag. Each unstable lang feature is required to
have a gate test.
* `needs-profiler-support` - a profiler runtime is required, i.e.,
`profiler = true` in rustc's `config.toml`.
* `needs-sanitizer-support` - a sanitizer runtime is required, i.e.,
`sanitizers = true` in rustc's `config.toml`.
* `needs-sanitizer-{address,leak,memory,thread}` - indicates that test
requires a target with a support for AddressSanitizer, LeakSanitizer,
MemorySanitizer or ThreadSanitizer respectively.
[`header.rs`]: https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src/header.rs
[bless]: ./running.md#editing-and-updating-the-reference-files