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
189 B6 linesraw
1-include ../tools.mk
2
3all:
4	cp non-utf8 $(TMPDIR)/non-utf.rs
5	cat $(TMPDIR)/non-utf.rs | $(RUSTC) - 2>&1 \
6		| $(CGREP) "error: couldn't read from stdin, as it did not contain valid UTF-8"