From a97e2b88beb80f83bec6cae14b74408aeae1b986 Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Wed, 11 Dec 2024 22:40:57 -0800 Subject: [PATCH] Pin rustls on MSRV --- ci/ci-tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 8ad6875476f..80320279f90 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -21,6 +21,9 @@ function PIN_RELEASE_DEPS { # indexmap 2.6.0 upgraded to hashbrown 0.15, which unfortunately bumped their MSRV to rustc 1.65 with the 0.15.1 release (and 2.7.0 was released since). [ "$RUSTC_MINOR_VERSION" -lt 65 ] && cargo update -p indexmap@2.7.0 --precise "2.5.0" --verbose + # Starting with version 0.23.20, the `rustls` crate has an MSRV of rustc 1.71.0 + [ "$RUSTC_MINOR_VERSION" -lt 71 ] && cargo update -p rustls@0.23.20 --precise "0.23.19" --verbose + return 0 # Don't fail the script if our rustc is higher than the last check }