提交 a43d7eb3 编写于 作者: V varkor

Use file containing non-UTF-8 character instead of echo -e

上级 00a33d68
-include ../tools.mk
all:
echo -e '\xD2' | $(RUSTC) - 2>&1 \
cp non-utf8 $(TMPDIR)/non-utf.rs
cat $(TMPDIR)/non-utf.rs | $(RUSTC) - 2>&1 \
| $(CGREP) "error: couldn't read from stdin, as it did not contain valid UTF-8"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册