From: Matt Corallo Date: Tue, 18 Jul 2023 01:54:16 +0000 (+0000) Subject: Only try to build `lightning-transaction-sync` if we meet its MSRV X-Git-Tag: v0.0.116~7^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f38b80ab64f92cdcadd5bd0580c0a10a20126fd2;p=rust-lightning Only try to build `lightning-transaction-sync` if we meet its MSRV This should fix CI --- diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 89e3a3219..7a16b7492 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -77,7 +77,12 @@ popd echo -e "\n\nTesting no-std build on a downstream no-std crate" # check no-std compatibility across dependencies pushd no-std-check -cargo check --verbose --color always --features lightning-transaction-sync +if [[ $RUSTC_MINOR_VERSION -gt 67 ]]; then + # lightning-transaction-sync's MSRV is 1.67 + cargo check --verbose --color always --features lightning-transaction-sync +else + cargo check --verbose --color always +fi popd # Test that we can build downstream code with only the "release pins".