diff options
author | 2024-09-19 00:08:16 +0000 | |
---|---|---|
committer | 2024-09-19 00:08:16 +0000 | |
commit | 9aa983800461b685f367ece90b4120276a5b39d7 (patch) | |
tree | b7b4fab5024aa3c6d5a2d744953323436a7d4e30 | |
parent | ba841f81553c1cba03c31d7124a233377f1fac05 (diff) |
Add ARMv9.2-A support for Rust.
Bug: 364383722
Test: presubmit, internal build for relevant device
Change-Id: I6e9db98fa2b31349484f83baef612527fbe7c15a
-rw-r--r-- | rust/config/arm64_device.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rust/config/arm64_device.go b/rust/config/arm64_device.go index 9850570c2..94a445700 100644 --- a/rust/config/arm64_device.go +++ b/rust/config/arm64_device.go @@ -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", }, |