fork/rust

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

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

master
292 B12 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4# ignore-windows
5# `ln` is actually `cp` on msys.
6
7all:
8	$(RUSTC) foo.rs
9	mkdir -p $(TMPDIR)/other
10	ln -nsf $(TMPDIR)/libfoo.rlib $(TMPDIR)/other
11	$(RUSTC) bar.rs -L $(TMPDIR)
12	$(RUSTC) baz.rs --extern foo=$(TMPDIR)/other/libfoo.rlib  -L $(TMPDIR)