Check AArch64 branch-protection earlier in the pipeline.

As suggested in #93516.
This commit is contained in:
Jacob Bramley 2022-11-21 16:05:51 +00:00
parent 203c8765ea
commit 49f3c0b736
8 changed files with 19 additions and 18 deletions

View file

@ -115,6 +115,10 @@ pub struct StackProtectorNotSupportedForTarget<'a> {
pub target_triple: &'a TargetTriple,
}
#[derive(Diagnostic)]
#[diag(session_branch_protection_requires_aarch64)]
pub(crate) struct BranchProtectionRequiresAArch64;
#[derive(Diagnostic)]
#[diag(session_split_debuginfo_unstable_platform)]
pub struct SplitDebugInfoUnstablePlatform {