Skip to content

Commit 85fe631

Browse files
committed
Fix Ci
1 parent f1a9238 commit 85fe631

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contrib/test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ then
88
alias cargo="cargo +$TOOLCHAIN"
99
fi
1010

11+
12+
# Pin dependencies as required if we are using MSRV toolchain.
13+
if cargo --version | grep "1\.41"; then
14+
# 1.0.108 uses `matches!` macro so does not work with Rust 1.41.1, bad `syn` no biscuit.
15+
cargo update -p syn --precise 1.0.107
16+
fi
17+
1118
# Lint if told to
1219
if [ "$DO_LINT" = true ]
1320
then

0 commit comments

Comments
 (0)