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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
222 B
Makefile
Raw Normal View History

# ignore-cross-compile
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'