Skip to content

Commit 3e74aae

Browse files
committed
Merge #678: CI: Pin cc for MSRV build
fb0fc1d CI: Pin cc for MSRV build (Tobin C. Harding) Pull request description: The `cc` dependency just stopped working for MSRV build with error error: package `cc v1.0.96` cannot be built because it requires rustc 1.63 or newer, while the currently active rustc version is 1.56.1 Pin `cc` back to an earlier version for MSRV build. ACKs for top commit: apoelstra: ACK fb0fc1d Tree-SHA512: 95b952ed2c5c3ac0580fbc1017b6fb8b50c6ced1b5b80b58749fa734b5256d03e82a9baa2305dc37a642d9ae732a60a0b68d783c88f54b480a91b1e1eaa86fe7
2 parents 60ad2c9 + fb0fc1d commit 3e74aae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contrib/test.sh

+7
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@ rustc --version
99

1010
# Cache the toolchain we are using.
1111
NIGHTLY=false
12+
MSRV=false
1213
if cargo --version | grep nightly; then
1314
NIGHTLY=true
15+
elif cargo --version | grep "1\.56"; then
16+
MSRV=true
17+
fi
18+
19+
if [ "$MSRV" = true ]; then
20+
cargo update -p cc --precise 1.0.79
1421
fi
1522

1623
# Format if told to

0 commit comments

Comments
 (0)