From 54011e664832b4cbeb589d673f11db9c2949b6db Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 28 Mar 2023 01:28:27 +0000 Subject: [PATCH] partial fix --- ci/ci-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 3705067c2..a27cf735f 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -4,6 +4,8 @@ set -eox pipefail RUSTC_MINOR_VERSION=$(rustc --version | awk '{ split($2,a,"."); print a[2] }') HOST_PLATFORM="$(rustc --version --verbose | grep "host:" | awk '{ print $2 }')" +# Tokio MSRV on versions newer than 1.26 is rustc 1.56 +[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p tokio --precise "1.26.0" --verbose # Tokio MSRV on versions newer than 1.14 is rustc 1.49 [ "$RUSTC_MINOR_VERSION" -lt 49 ] && cargo update -p tokio --precise "1.14.0" --verbose [ "$LDK_COVERAGE_BUILD" != "" ] && export RUSTFLAGS="-C link-dead-code" -- 2.39.5