From 4f14c347a8acffbb5659c96548471c09c5f1570b Mon Sep 17 00:00:00 2001 From: Ramon de C Valle Date: Tue, 19 Nov 2024 21:11:13 +0000 Subject: [PATCH] sanitizers: Stabilize AddressSanitizer for aarch64-apple-darwin Stabilize AddressSanitizer for aarch64-apple-darwin since it was promoted to Tier 1 in #128592. --- compiler/rustc_target/src/spec/targets/aarch64_apple_darwin.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_target/src/spec/targets/aarch64_apple_darwin.rs b/compiler/rustc_target/src/spec/targets/aarch64_apple_darwin.rs index adee6f5fe9943..8c7bce449715c 100644 --- a/compiler/rustc_target/src/spec/targets/aarch64_apple_darwin.rs +++ b/compiler/rustc_target/src/spec/targets/aarch64_apple_darwin.rs @@ -22,6 +22,7 @@ pub(crate) fn target() -> Target { max_atomic_width: Some(128), // FIXME: The leak sanitizer currently fails the tests, see #88132. supported_sanitizers: SanitizerSet::ADDRESS | SanitizerSet::CFI | SanitizerSet::THREAD, + stable_sanitizers: SanitizerSet::ADDRESS, ..opts }, }