summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/invalid-library/Makefile
blob: de463a330149b0416afbf5b98c21a4591082a5da (plain)
1
2
3
4
5
6
-include ../tools.mk

all:
	touch $(TMPDIR)/lib.rmeta
	$(AR) crus $(TMPDIR)/libfoo-ffffffff-1.0.rlib $(TMPDIR)/lib.rmeta
	$(RUSTC) foo.rs 2>&1 | $(CGREP) "found invalid metadata"