blob: 592eae663a49afc129b82f34b132d589b61230bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# ignore-cross-compile
include ../tools.mk
# ignore-windows
NAME := $(shell $(RUSTC) --print file-names foo.rs)
all:
mkdir -p $(TMPDIR)/outdir
$(RUSTC) foo.rs -o $(TMPDIR)/outdir/$(NAME)
ln -nsf outdir/$(NAME) $(TMPDIR)
RUSTC_LOG=rustc_metadata::loader $(RUSTC) bar.rs
|