rust/tests/run-make-fulldeps/issue-22131/Makefile

8 lines
199 B
Makefile
Raw Normal View History

include ../tools.mk
all: foo.rs
$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
$(RUSTDOC) --test --cfg 'feature="bar"' \
2015-02-10 13:05:20 -06:00
-L $(TMPDIR) foo.rs |\
2018-12-25 09:56:47 -06:00
$(CGREP) 'foo.rs - foo (line 1) ... ok'