summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/issue-22131/Makefile
blob: 770f4b04ec3582357347468c640fc4f076bd9fa2 (plain)
1
2
3
4
5
6
7
include ../tools.mk

all: foo.rs
	$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
	$(RUSTDOC) --test --cfg 'feature="bar"' \
		-L $(TMPDIR) foo.rs |\
		$(CGREP) 'foo.rs - foo (line 1) ... ok'