diff options
| author | bors <bors@rust-lang.org> | 2023-09-19 01:47:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-19 01:47:23 +0000 |
| commit | 19dd9535408db0f1ff3d16613619076aef524d19 (patch) | |
| tree | e60e97985c242bd3df4af7b278d0ba521ac92a2f /src/tools | |
| parent | f3984ce5bbd5b6ab99279617ad1b84dec7a3dd20 (diff) | |
| parent | b7e98e13cdbd6319fab38b6edc233e3d2925d567 (diff) | |
| download | rust-19dd9535408db0f1ff3d16613619076aef524d19.tar.gz rust-19dd9535408db0f1ff3d16613619076aef524d19.zip | |
Auto merge of #115644 - danakj:catalyst-asan, r=cjgillot,thomcc
Enable ASAN/LSAN/TSAN for *-apple-ios-macabi The -macabi targets are iOS running on MacOS, and they use the runtime libraries for MacOS, thus they have the same sanitizers available as the *-apple-darwin targets. This is based on the work of https://github.com/rust-lang/rust/commit/aacf3213b142f074999429eab767ef7b53c3a1a5. Closes #113935.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/util.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/util.rs b/src/tools/compiletest/src/util.rs index 17bed38b65e..02648fe5c29 100644 --- a/src/tools/compiletest/src/util.rs +++ b/src/tools/compiletest/src/util.rs @@ -13,6 +13,7 @@ pub const ASAN_SUPPORTED_TARGETS: &[&str] = &[ "aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", + "aarch64-apple-ios-macabi", "aarch64-unknown-fuchsia", "aarch64-linux-android", "aarch64-unknown-linux-gnu", @@ -22,6 +23,7 @@ pub const ASAN_SUPPORTED_TARGETS: &[&str] = &[ "i686-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", + "x86_64-apple-ios-macabi", "x86_64-unknown-fuchsia", "x86_64-linux-android", "x86_64-unknown-freebsd", @@ -60,6 +62,7 @@ pub const LSAN_SUPPORTED_TARGETS: &[&str] = &[ // "aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", + "x86_64-apple-ios-macabi", "x86_64-unknown-linux-gnu", "s390x-unknown-linux-gnu", ]; @@ -75,9 +78,11 @@ pub const TSAN_SUPPORTED_TARGETS: &[&str] = &[ "aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", + "aarch64-apple-ios-macabi", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", + "x86_64-apple-ios-macabi", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu", "s390x-unknown-linux-gnu", |
