Skip to content

Commit 8c1b3d1

Browse files
authored
Merge pull request #3216 from tnull/2024-08-pin-tokio-in-ci
Pin `tokio` in CI to fix MSRV
2 parents 50d21b7 + 3566b98 commit 8c1b3d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/ci-tests.sh

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ HOST_PLATFORM="$(rustc --version --verbose | grep "host:" | awk '{ print $2 }')"
88
# which we do here.
99
# Further crates which appear only as dev-dependencies are pinned further down.
1010
function PIN_RELEASE_DEPS {
11+
# Starting with version 1.39.0, the `tokio` crate has an MSRV of rustc 1.70.0
12+
[ "$RUSTC_MINOR_VERSION" -lt 70 ] && cargo update -p tokio --precise "1.38.1" --verbose
13+
1114
return 0 # Don't fail the script if our rustc is higher than the last check
1215
}
1316

0 commit comments

Comments
 (0)