test.sh: Remove 1.29 pinning

We no longer need to test Rust 1.29, remove the pinning from the test
script.
This commit is contained in:
Tobin C. Harding 2022-04-21 11:38:59 +10:00
parent 15bae28b6b
commit 8f45723bc6
1 changed files with 0 additions and 18 deletions

View File

@ -8,19 +8,6 @@ then
alias cargo="cargo +$TOOLCHAIN"
fi
pin_common_verions() {
cargo generate-lockfile --verbose
cargo update -p cc --precise "1.0.41" --verbose
cargo update -p serde --precise "1.0.98" --verbose
cargo update -p serde_derive --precise "1.0.98" --verbose
}
# Pin `cc` for Rust 1.29
if [ "$PIN_VERSIONS" = true ]; then
pin_common_verions
cargo update -p byteorder --precise "1.3.4"
fi
if [ "$DO_COV" = true ]
then
export RUSTFLAGS="-C link-dead-code"
@ -95,10 +82,5 @@ then
cd dep_test
echo 'bitcoin = { path = "..", features = ["use-serde"] }' >> Cargo.toml
# Pin `cc` for Rust 1.29
if [ -n "$PIN_VERSIONS" ]; then
pin_common_verions
fi
cargo test --verbose
fi