Merge "Add ARMv9.2-A support for Rust." into main am: 877a59e2eb

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

Change-Id: Ic9a5b6bc86c67e43fd2f62b78943f663e316d1b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Krzysztof Kosiński
2024-09-20 19:48:25 +00:00
committed by Automerger Merge Worker

View File

@@ -35,8 +35,13 @@ var (
},
"armv8-2a": []string{},
"armv8-2a-dotprod": []string{},
// branch-protection=bti,pac-ret is equivalent to Clang's mbranch-protection=standard
"armv9-a": []string{
// branch-protection=bti,pac-ret is equivalent to Clang's mbranch-protection=standard
"-Z branch-protection=bti,pac-ret",
"-Z stack-protector=none",
},
"armv9-2a": []string{
"-Z branch-protection=bti,pac-ret",
"-Z stack-protector=none",
},