Replace grep -z by tr -d '\r\n' | grep for cross-compatibility
This commit is contained in:
parent
8205c348b4
commit
21bb60afc1
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ all:
|
|||
$(RUSTC) --crate-type=rlib crateB.rs --extern crateA=$(TMPDIR)/libcrateA-1.rlib
|
||||
# make crateC depend on version 2 of crateA
|
||||
$(RUSTC) crateC.rs --extern crateA=$(TMPDIR)/libcrateA-2.rlib 2>&1 | \
|
||||
grep -z \
|
||||
tr -d '\r\n' | grep \
|
||||
"mismatched types.*\
|
||||
crateB::try_foo(foo2);.*\
|
||||
expected struct \`crateA::foo::Foo\`, found struct \`crateA::Foo\`.*\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue