8 lines
199 B
Makefile
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'
|