rust/tests/run-make/error-found-staticlib-instead-crate/Makefile
2023-03-30 07:34:55 -05:00

6 lines
117 B
Makefile

include ../tools.mk
all:
$(RUSTC) foo.rs --crate-type staticlib
$(RUSTC) bar.rs 2>&1 | $(CGREP) "found staticlib"