]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/stdin-non-utf8/Makefile
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / run-make-fulldeps / stdin-non-utf8 / Makefile
1 include ../tools.mk
2
3 all:
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"