]> git.proxmox.com Git - rustc.git/blob - tests/run-make/pointer-auth-link-with-c/Makefile
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / run-make / pointer-auth-link-with-c / Makefile
1 include ../tools.mk
2
3 # only-aarch64
4 # ignore-cross-compile
5
6 all:
7 $(COMPILE_OBJ) $(TMPDIR)/test.o test.c
8 $(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o
9 $(RUSTC) --target $(TARGET) -Z branch-protection=bti,pac-ret,leaf test.rs
10 $(call RUN,test)
11
12 $(COMPILE_OBJ) $(TMPDIR)/test.o test.c -mbranch-protection=bti+pac-ret+leaf
13 $(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o
14 $(RUSTC) --target $(TARGET) -Z branch-protection=bti,pac-ret,leaf test.rs
15 $(call RUN,test)