4851d5663c
`run-make-fulldeps` is never cross-compiled, so a lot of these tests never accounted for --target. Ignore them when cross-compiling for now.
13 lines
276 B
Makefile
13 lines
276 B
Makefile
# 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
|