diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-06-05 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-06-13 14:24:30 +0200 |
| commit | d40e624a3625c7c2d68c949435fd883cd43dd065 (patch) | |
| tree | 24d539e73bc73d8b80608b61c79b426f488ffbb8 /src/test/rustdoc | |
| parent | 449e8eaa286e407c9cd8cac655b77998fd53db6b (diff) | |
| download | rust-d40e624a3625c7c2d68c949435fd883cd43dd065.tar.gz rust-d40e624a3625c7c2d68c949435fd883cd43dd065.zip | |
compiletest: Add directives to detect sanitizer support
Add needs-sanitizer-{address,leak,memory,thread} directive indicating
that test requires target with support for specific sanitizer.
This is an addition to the existing needs-sanitizer-support directive
indicating that test requires a sanitizer runtime library.
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/sanitizer-option.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc/sanitizer-option.rs b/src/test/rustdoc/sanitizer-option.rs index 6af9ed3e33f..a79b37ee082 100644 --- a/src/test/rustdoc/sanitizer-option.rs +++ b/src/test/rustdoc/sanitizer-option.rs @@ -1,4 +1,5 @@ // needs-sanitizer-support +// needs-sanitizer-address // compile-flags: --test -Z sanitizer=address // // #43031: Verify that rustdoc passes `-Z` options to rustc. Use an extern |
