summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/libs-through-symlinks/Makefile
blob: 8be2e234fea1fcb0c2ad8dbe23a25ef9ddc9f12c (plain)
1
2
3
4
5
6
7
8
9
10
11
-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