diff options
author | Josh Triplett <josh@joshtriplett.org> | 2021-01-28 01:35:27 -0800 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2021-01-28 01:35:27 -0800 |
commit | 783d724a0d13b3b6167fe89498a7be31ed6120b3 (patch) | |
tree | 1146d41bbf61a1776ab18b727919f70d60badb25 /ci | |
parent | 389026982d8821b114a39162f59ff1fd397b8f89 (diff) | |
download | rust-libc-783d724a0d13b3b6167fe89498a7be31ed6120b3.tar.gz |
ci/semver.sh: Pass --locked when installing semverver
We don't, in general, want our CI to be the testbed for building
semverver with newer versions of its dependencies. Pass --locked to use
the checked-in Cargo.lock instead.
This works around https://github.com/rust-lang/cargo/issues/9101 .
Diffstat (limited to 'ci')
-rw-r--r-- | ci/semver.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/semver.sh b/ci/semver.sh index ebfe767c06..6d6dfd17d8 100644 --- a/ci/semver.sh +++ b/ci/semver.sh @@ -16,7 +16,7 @@ fi rustup component add rustc-dev llvm-tools-preview # Should update the nightly version in bors CI config if we touch this. -cargo install --git https://github.com/rust-lang/rust-semverver --rev 71c340ff867d2f79613cfe02c6714f1d2ef00bc4 +cargo install --locked --git https://github.com/rust-lang/rust-semverver --rev 71c340ff867d2f79613cfe02c6714f1d2ef00bc4 TARGETS= case "${OS}" in |