fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
200 B7 linesraw
1-include ../tools.mk
2
3all: foo.rs
4	$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
5	$(RUSTDOC) --test --cfg 'feature="bar"' \
6		-L $(TMPDIR) foo.rs |\
7		$(CGREP) 'foo.rs - foo (line 1) ... ok'