rust/tests/run-make-fulldeps/issue-22131/Makefile
2023-01-11 09:32:08 +00:00

8 lines
199 B
Makefile

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'