rust/tests/run-make-fulldeps/invalid-library/Makefile
2023-01-11 09:32:08 +00:00

7 lines
178 B
Makefile

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"