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.
12 lines
263 B
Makefile
12 lines
263 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) foo1.rs
|
|
$(RUSTC) foo2.rs
|
|
mkdir $(TMPDIR)/foo
|
|
cp $(TMPDIR)/libfoo1.rlib $(TMPDIR)/foo/libfoo1.rlib
|
|
$(RUSTC) bar.rs \
|
|
--extern foo1=$(TMPDIR)/foo/libfoo1.rlib \
|
|
--extern foo2=$(TMPDIR)/libfoo2.rlib
|