mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 15:26:41 +00:00
Set branch protection function attributes
Since LLVM 19, it is necessary to set not only module flags, but also function attributes for branch protection on aarch64. See e15d67cfc2 for the relevant LLVM change.
Fixes https://github.com/rust-lang/rust/issues/127829.