Skip to content

Commit 73b1061

Browse files
bors[bot]matklad
andauthored
705: Update compat-Cargo.lock r=cuviper a=matklad I've noticed that rayon-rs#704 uses old compat lockfile, which is strange, given that it changes Cargo.lock. What happens here is that cargo writes new compat lockfile during CI. That means that CI might break randomly, if rayon's dependency is published with the same major version, but different MSRV With this PR, CI will break deterministically if you change Cargo.toml and don't update compat-Cargo.lock. Not sure if this actually makes sense :) Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 65fda30 + 54c0b0d commit 73b1061

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matrix:
1616
os: linux
1717
#if: everything!
1818
before_script: cp ci/compat-Cargo.lock ./Cargo.lock
19-
script: cargo build
19+
script: cargo build --locked
2020

2121
- rust: stable
2222
os: linux

ci/compat-Cargo.lock

Lines changed: 16 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)