fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
213 B9 linesraw
1-include ../tools.mk
2
3# ignore-windows
4# `ln` is actually `cp` on msys.
5
6all:
7	$(RUSTC) foo.rs --crate-type=rlib -o $(TMPDIR)/foo.xxx
8	ln -nsf $(TMPDIR)/foo.xxx $(TMPDIR)/libfoo.rlib
9	$(RUSTC) bar.rs -L $(TMPDIR)