rustc/tests/run-make/invalid-staticlib/Makefile
2023-09-14 08:56:40 +02: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"