Revert "rust: Add SCS sanitizer option for AArch64"
This reverts commit 882711357738d2f78e33e001e9b04a9eaaa76654.
Reason for revert: hwasan builds breaking
Change-Id: I28094e27d5935c6f371fddddf4b6b0334de9b12c
diff --git a/cc/vendor_snapshot.go b/cc/vendor_snapshot.go
index 2421e24..9ea337b 100644
--- a/cc/vendor_snapshot.go
+++ b/cc/vendor_snapshot.go
@@ -95,7 +95,7 @@
if sanitizable.SanitizePropDefined() {
// scs exports both sanitized and unsanitized variants for static and header
// Always use unsanitized variant of it.
- if !sanitizable.Shared() && sanitizable.IsSanitizerEnabled(Scs) {
+ if !sanitizable.Shared() && sanitizable.IsSanitizerEnabled(scs) {
return false
}
// cfi and hwasan also export both variants. But for static, we capture both.