fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# ignore-cross-compile 2include ../tools.mk 3 4# ignore-windows 5# `ln` is actually `cp` on msys. 6 7all: 8 $(RUSTC) foo.rs -C prefer-dynamic 9 mkdir -p $(TMPDIR)/other 10 ln -nsf $(TMPDIR)/$(call DYLIB_GLOB,foo) $(TMPDIR)/other 11 $(RUSTC) bar.rs -L $(TMPDIR)/other