From 1376c5a617be5c25655d0d7cb63e3beaa5a6e026 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:20:39 +0200 Subject: Merging upstream version 1.70.0+dfsg1. Signed-off-by: Daniel Baumann --- tests/run-make/symlinked-rlib/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/run-make/symlinked-rlib/Makefile (limited to 'tests/run-make/symlinked-rlib/Makefile') diff --git a/tests/run-make/symlinked-rlib/Makefile b/tests/run-make/symlinked-rlib/Makefile new file mode 100644 index 000000000..a8565f683 --- /dev/null +++ b/tests/run-make/symlinked-rlib/Makefile @@ -0,0 +1,10 @@ +# ignore-cross-compile +include ../tools.mk + +# ignore-windows +# `ln` is actually `cp` on msys. + +all: + $(RUSTC) foo.rs --crate-type=rlib -o $(TMPDIR)/foo.xxx + ln -nsf $(TMPDIR)/foo.xxx $(TMPDIR)/libfoo.rlib + $(RUSTC) bar.rs -L $(TMPDIR) -- cgit v1.2.3