fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
118 B5 linesraw
1-include ../tools.mk
2
3all:
4	$(RUSTC) foo.rs --crate-type staticlib
5	$(RUSTC) bar.rs 2>&1 | $(CGREP) "found staticlib"