This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
dfb552e37e
rust
/
tests
/
ui
/
invalid-compile-flags
/
branch-protection-missing-pac-ret.BADTARGET.stderr
5 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Check AArch64 branch-protection earlier in the pipeline. As suggested in #93516.
2022-11-21 10:05:51 -06:00
error: `-Zbranch-protection` is only supported on aarch64
No branch protection metadata unless enabled Even if we emit metadata disabling branch protection, this metadata may conflict with other modules (e.g. during LTO) that have different branch protection metadata set. This is an unstable flag and feature, so ideally the flag not being specified should act as if the feature wasn't implemented in the first place. Additionally this PR also ensures we emit an error if `-Zbranch-protection` is set on targets other than the supported aarch64. For now the error is being output from codegen, but ideally it should be moved to earlier in the pipeline before stabilization.
2022-01-31 13:47:07 -06:00
error: aborting due to previous error
Reference in New Issue
Copy Permalink