Skip to content

Commit 2d45cd8

Browse files
committed
sanitizers: Stabilize AddressSanitizer for aarch64-apple-darwin
Stabilize AddressSanitizer for aarch64-apple-darwin since it was promoted to Tier 1 in #128592.
1 parent 8e17ee8 commit 2d45cd8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

compiler/rustc_target/src/spec/targets/aarch64_apple_darwin.rs

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub(crate) fn target() -> Target {
2222
max_atomic_width: Some(128),
2323
// FIXME: The leak sanitizer currently fails the tests, see #88132.
2424
supported_sanitizers: SanitizerSet::ADDRESS | SanitizerSet::CFI | SanitizerSet::THREAD,
25+
stable_sanitizers: SanitizerSet::ADDRESS,
2526
..opts
2627
},
2728
}

src/doc/rustc/src/codegen-options/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ of these sanitizers:
539539

540540
| Target | Sanitizers |
541541
|-----------------------------|-----------------|
542+
| aarch64-apple-darwin | address |
542543
| aarch64-unknown-linux-gnu | address, leak |
543544
| i686-pc-windows-msvc | address |
544545
| i686-unknown-linux-gnu | address |

src/doc/rustc/src/sanitizers.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ of these sanitizers:
2020

2121
| Target | Sanitizers |
2222
|-----------------------------|-----------------|
23+
| aarch64-apple-darwin | address |
2324
| aarch64-unknown-linux-gnu | address, leak |
2425
| i686-pc-windows-msvc | address |
2526
| i686-unknown-linux-gnu | address |

0 commit comments

Comments
 (0)