summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/error-found-staticlib-instead-crate/Makefile
blob: 0eae41d720ccc0f3c5a60a32fc169f6fc64d46c4 (plain)
1
2
3
4
5
include ../tools.mk

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