fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
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'