fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
233 B10 linesraw
1-include ../tools.mk
2
3# ignore-windows
4# `ln` is actually `cp` on msys.
5
6all:
7	$(RUSTC) foo.rs -C prefer-dynamic
8	mkdir -p $(TMPDIR)/other
9	ln -nsf $(TMPDIR)/$(call DYLIB_GLOB,foo) $(TMPDIR)/other
10	$(RUSTC) bar.rs -L $(TMPDIR)/other