mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-26 13:54:06 +00:00
Rollup merge of #89170 - rusticstuff:aarch64_macos_disable_leak_sanitizer, r=petrochenkov
Disable the leak sanitizer on Macos aarch64 for now It is currently broken, see #88132.
This commit is contained in:
commit
26c7838118
@ -4,7 +4,9 @@ pub fn target() -> Target {
|
|||||||
let mut base = super::apple_base::opts("macos");
|
let mut base = super::apple_base::opts("macos");
|
||||||
base.cpu = "apple-a12".to_string();
|
base.cpu = "apple-a12".to_string();
|
||||||
base.max_atomic_width = Some(128);
|
base.max_atomic_width = Some(128);
|
||||||
base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::LEAK | SanitizerSet::THREAD;
|
|
||||||
|
// FIXME: The leak sanitizer currently fails the tests, see #88132.
|
||||||
|
base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::THREAD;
|
||||||
|
|
||||||
base.pre_link_args.insert(LinkerFlavor::Gcc, vec!["-arch".to_string(), "arm64".to_string()]);
|
base.pre_link_args.insert(LinkerFlavor::Gcc, vec!["-arch".to_string(), "arm64".to_string()]);
|
||||||
base.link_env_remove.extend(super::apple_base::macos_link_env_remove());
|
base.link_env_remove.extend(super::apple_base::macos_link_env_remove());
|
||||||
|
@ -96,7 +96,8 @@ pub const ASAN_SUPPORTED_TARGETS: &[&str] = &[
|
|||||||
];
|
];
|
||||||
|
|
||||||
pub const LSAN_SUPPORTED_TARGETS: &[&str] = &[
|
pub const LSAN_SUPPORTED_TARGETS: &[&str] = &[
|
||||||
"aarch64-apple-darwin",
|
// FIXME: currently broken, see #88132
|
||||||
|
// "aarch64-apple-darwin",
|
||||||
"aarch64-unknown-linux-gnu",
|
"aarch64-unknown-linux-gnu",
|
||||||
"x86_64-apple-darwin",
|
"x86_64-apple-darwin",
|
||||||
"x86_64-unknown-linux-gnu",
|
"x86_64-unknown-linux-gnu",
|
||||||
|
Loading…
Reference in New Issue
Block a user