Skip to content

Commit

Permalink
Fix cargo install invocations to use --locked (Azure#574)
Browse files Browse the repository at this point in the history
`bindgen` in particular is broken without it, because one of
its transitive dependencies bumped its MSRV to be newer than what we use
while keeping a semver-compatible version number.

Fixes Azure#573
  • Loading branch information
arsing authored Dec 20, 2023
1 parent 560fdff commit 3464feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/install-build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ esac

# Mariner build installs the following as part of the specfile.
if [ "${OS#mariner}" = "$OS" ]; then
cargo install bindgen --version "=$BINDGEN_VERSION"
cargo install bindgen --version "=$BINDGEN_VERSION" --locked

cargo install cbindgen --version "=$CBINDGEN_VERSION"
cargo install cbindgen --version "=$CBINDGEN_VERSION" --locked

if [ "$OS:$ARCH" = 'ubuntu:22.04:amd64' ]; then
cargo install cargo-tarpaulin --version '^0.20' --locked
Expand Down

0 comments on commit 3464feb

Please sign in to comment.