Skip to content

Commit 9b76e13

Browse files
committed
Merge #623: CI: Pin dependencies required for MSRV build
0e0dcb7 CI: Pin dependencies required for MSRV build (Tobin C. Harding) Pull request description: Whinge, whinge, whinge, and pin the dependencies. ACKs for top commit: apoelstra: ACK 0e0dcb7 Tree-SHA512: 3eb65a844f632ea324705fe371c3876b96d62ddabe17085ed1bf32183eb491ff5006836c3945f4b0e11886049e9bd62245d2eb2c646cbf1a2f10cbff5c54bd53
2 parents 31237ff + 0e0dcb7 commit 9b76e13

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contrib/test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abno
1919
# Make all cargo invocations verbose
2020
export CARGO_TERM_VERBOSE=true
2121

22+
# Pin dependencies as required if we are using MSRV toolchain.
23+
if cargo --version | grep "1\.48"; then
24+
# 1.0.157 uses syn 2.0 which requires edition 2021
25+
cargo update -p serde_json --precise 1.0.99
26+
cargo update -p serde --precise 1.0.156
27+
fi
28+
2229
# Defaults / sanity checks
2330
cargo build --all
2431
cargo test --all

0 commit comments

Comments
 (0)