Skip to content

Commit ba12a86

Browse files
committed
Pin memchr in our release dependency list due to core2 using it
We're working with rust-bitcoin to remove the `core2` dependency at rust-bitcoin/rust-bitcoin#2066 but until that lands and we can upgrade rust-bitcoin we're stuck with it. In the mean time, we should still pass our MSRV tests.
1 parent 0d646b7 commit ba12a86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/ci-tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ if [[ $RUSTC_MINOR_VERSION -gt 67 ]]; then
123123
# lightning-transaction-sync's MSRV is 1.67
124124
cargo check --verbose --color always --features lightning-transaction-sync
125125
else
126+
# The memchr crate switched to an MSRV of 1.60 starting with v2.6.0
127+
# This is currently only a release dependency via core2, which we intend to work with
128+
# rust-bitcoin to remove soon.
129+
[ "$RUSTC_MINOR_VERSION" -lt 60 ] && cargo update -p memchr --precise "2.5.0" --verbose
126130
cargo check --verbose --color always
127131
fi
128132
popd

0 commit comments

Comments
 (0)