Merge "rust: Temporarily disable ASAN builds for Host" into main am: 91738fddb3 am: 1b5dad971a

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2784547

Change-Id: Ie737963fcaf0b0883c0253fba7a9f904cecf4e3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ivan Lozano
2023-10-12 13:55:05 +00:00
committed by Automerger Merge Worker

View File

@@ -203,6 +203,11 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
s.Address = nil s.Address = nil
} }
// TODO: Remove once b/304507701 is resolved
if Bool(s.Address) && ctx.Host() {
s.Address = nil
}
// Memtag_heap is only implemented on AArch64. // Memtag_heap is only implemented on AArch64.
if ctx.Arch().ArchType != android.Arm64 || !ctx.Os().Bionic() { if ctx.Arch().ArchType != android.Arm64 || !ctx.Os().Bionic() {
s.Memtag_heap = nil s.Memtag_heap = nil