Skip to content

Commit bd9d3c9

Browse files
committed
test: pin 'half' dependency on 1.41.1.
This is only needed for the serde test, so don't bother putting it in the README. Downstream users won't encounter this dependency and don't need to care about it.
1 parent 7fc8419 commit bd9d3c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ if cargo --version | grep nightly; then
1313
NIGHTLY=true
1414
fi
1515

16+
if cargo --version | grep "1\.41"; then
17+
# 1.8.x uses constfns which aren't supported in 1.41
18+
cargo update -p half --precise 1.7.0
19+
fi
20+
1621
# Test if panic in C code aborts the process (either with a real panic or with SIGILL)
1722
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally' 2>&1 | tee /dev/stderr | grep "SIGILL\\|panicked at '\[libsecp256k1\]"
1823

0 commit comments

Comments
 (0)