]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/pointer-auth-link-with-c/Makefile
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / run-make-fulldeps / pointer-auth-link-with-c / Makefile
1 -include ../tools.mk
2
3 # only-aarch64
4
5 all:
6         $(COMPILE_OBJ) $(TMPDIR)/test.o test.c
7         $(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o
8         $(RUSTC) -Z branch-protection=bti,pac-ret,leaf test.rs
9         $(call RUN,test)
10
11         $(COMPILE_OBJ) $(TMPDIR)/test.o test.c -mbranch-protection=bti+pac-ret+leaf
12         $(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o
13         $(RUSTC) -Z branch-protection=bti,pac-ret,leaf test.rs
14         $(call RUN,test)