File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,10 +109,10 @@ jobs:
109109 cd ../..
110110
111111 echo Checking Rust
112- cargo tree -i linux-raw-sys 2>&1 | grep "was not used in the crate graph" && ( echo "Unused patches found"; cargo tree; exit 1) || exit 0
112+ cargo tree -i linux-raw-sys 2>&1 | grep "was not used in the crate graph" && { cargo tree; echo "Error: Unused patches found"; exit 1; } || exit 0
113113
114114 echo Checking rustc_codegen_gcc
115- cargo tree --manifest-path compiler/rustc_codegen_gcc/Cargo.toml -i linux-raw-sys 2>&1 | grep "was not used in the crate graph" && ( echo "Unused patches found"; cargo tree; exit 1) || exit 0
115+ cargo tree --manifest-path compiler/rustc_codegen_gcc/Cargo.toml -i linux-raw-sys 2>&1 | grep "was not used in the crate graph" && { cargo tree; echo "Error: Unused patches found"; exit 1; } || exit 0
116116
117117 - name : Compile rustc
118118 run : |
You can’t perform that action at this time.
0 commit comments