summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/libs-through-symlinks/Makefile
blob: 45deaecb8406ad31f7032ed02465bc3ecca12140 (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