diff options
| author | Jacob Bramley <jacob.bramley@arm.com> | 2022-11-21 16:05:51 +0000 |
|---|---|---|
| committer | Jacob Bramley <jacob.bramley@arm.com> | 2022-12-06 15:51:57 +0000 |
| commit | 49f3c0b73689eed49df9ef822f9fd437db93ce9e (patch) | |
| tree | 2d0f6319ecfa15ba1b4de2d805dc7c8920fcef0f /src/test/ui | |
| parent | 203c8765ea33c65d888febe0e8219c4bb11b0d89 (diff) | |
| download | rust-49f3c0b73689eed49df9ef822f9fd437db93ce9e.tar.gz rust-49f3c0b73689eed49df9ef822f9fd437db93ce9e.zip | |
Check AArch64 branch-protection earlier in the pipeline.
As suggested in #93516.
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.BADTARGET.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.BADTARGET.stderr b/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.BADTARGET.stderr index 6bd9c6a0276..52a59190264 100644 --- a/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.BADTARGET.stderr +++ b/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.BADTARGET.stderr @@ -1,4 +1,4 @@ -error: -Zbranch-protection is only supported on aarch64 +error: `-Zbranch-protection` is only supported on aarch64 error: aborting due to previous error diff --git a/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs b/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs index 4bc4919bc93..1d7ec5cba17 100644 --- a/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs +++ b/src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs @@ -3,7 +3,7 @@ // [BADFLAGS] check-fail // [BADFLAGS] needs-llvm-components: aarch64 // [BADTARGET] compile-flags: --target=x86_64-unknown-linux-gnu -Zbranch-protection=bti -// [BADTARGET] build-fail +// [BADTARGET] check-fail // [BADTARGET] needs-llvm-components: x86 #![crate_type = "lib"] |
