fork/rust

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

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

1.42.0
251 B7 linesraw
1-include ../tools.mk
2
3all:
4	cp foo.rs $(TMPDIR)/foo.rs
5	mkdir $(TMPDIR)/foo
6	$(RUSTC) $(TMPDIR)/foo.rs -o $(TMPDIR)/foo 2>&1 \
7		| $(CGREP) -e "the generated executable for the input file \".*foo\.rs\" conflicts with the existing directory \".*foo\""