]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Only try to build `lightning-transaction-sync` if we meet its MSRV 2023-07-proc-macro2-msrv
authorMatt Corallo <git@bluematt.me>
Tue, 18 Jul 2023 01:54:16 +0000 (01:54 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 18 Jul 2023 01:54:16 +0000 (01:54 +0000)
This should fix CI

ci/ci-tests.sh

index 89e3a32190548ea9976bf8a30e1b1483c4d1a45f..7a16b749200de77219c7268eb79fe793fe0d1bfb 100755 (executable)
@@ -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".