]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs
1 // revisions: BADFLAGS BADTARGET
2 // [BADFLAGS] compile-flags: --target=aarch64-unknown-linux-gnu -Zbranch-protection=leaf
3 // [BADFLAGS] check-fail
4 // [BADFLAGS] needs-llvm-components: aarch64
5 // [BADTARGET] compile-flags: --target=x86_64-unknown-linux-gnu -Zbranch-protection=bti
6 // [BADTARGET] build-fail
7 // [BADTARGET] needs-llvm-components: x86
10 #![feature(no_core, lang_items)]