rust/tests/run-make/invalid-staticlib/Makefile
2023-03-30 07:34:55 -05:00

6 lines
149 B
Makefile

include ../tools.mk
all:
touch $(TMPDIR)/libfoo.a
echo | $(RUSTC) - --crate-type=rlib -lstatic=foo 2>&1 | $(CGREP) "failed to add native library"