diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2023-04-25 02:33:29 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-25 02:33:29 +0900 |
| commit | 2a2df56db5ddb6f42e32e9b2e1ef7db6753ba96a (patch) | |
| tree | 049ad156476db96c8117cf06dca615269839db28 | |
| parent | e0bb7bb0892f81143090ec41ba3545e718dabec8 (diff) | |
| parent | fa3515679b9554b4ab2820ca50eacc0bd8a30ed3 (diff) | |
| download | rust-2a2df56db5ddb6f42e32e9b2e1ef7db6753ba96a.tar.gz rust-2a2df56db5ddb6f42e32e9b2e1ef7db6753ba96a.zip | |
Rollup merge of #110667 - pcc:fix-pointer-auth-link-with-c, r=Mark-Simulacrum
pointer-auth-link-with-c: Fix cross compilation.
| -rw-r--r-- | tests/run-make/pointer-auth-link-with-c/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/pointer-auth-link-with-c/Makefile b/tests/run-make/pointer-auth-link-with-c/Makefile index 7acea03802c..dffbd303582 100644 --- a/tests/run-make/pointer-auth-link-with-c/Makefile +++ b/tests/run-make/pointer-auth-link-with-c/Makefile @@ -5,10 +5,10 @@ include ../tools.mk all: $(COMPILE_OBJ) $(TMPDIR)/test.o test.c $(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o - $(RUSTC) -Z branch-protection=bti,pac-ret,leaf test.rs + $(RUSTC) --target $(TARGET) -Z branch-protection=bti,pac-ret,leaf test.rs $(call RUN,test) $(COMPILE_OBJ) $(TMPDIR)/test.o test.c -mbranch-protection=bti+pac-ret+leaf $(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o - $(RUSTC) -Z branch-protection=bti,pac-ret,leaf test.rs + $(RUSTC) --target $(TARGET) -Z branch-protection=bti,pac-ret,leaf test.rs $(call RUN,test) |
