fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
465 B15 linesraw
1include ../tools.mk
2
3# only-aarch64
4# ignore-cross-compile
5
6all:
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)