fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1-include ../tools.mk 2 3# ignore-windows 4# `ln` is actually `cp` on msys. 5 6all: 7 $(RUSTC) foo.rs 8 mkdir -p $(TMPDIR)/other 9 ln -nsf $(TMPDIR)/libfoo.rlib $(TMPDIR)/other 10 $(RUSTC) bar.rs -L $(TMPDIR) 11 $(RUSTC) baz.rs --extern foo=$(TMPDIR)/other/libfoo.rlib -L $(TMPDIR)