Skip to content

Commit

Permalink
Merge #705
Browse files Browse the repository at this point in the history
705: Update compat-Cargo.lock r=cuviper a=matklad

I've noticed that #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 <aleksey.kladov@gmail.com>
  • Loading branch information
bors[bot] and matklad committed Nov 7, 2019
2 parents 65fda30 + 54c0b0d commit 73b1061
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -16,7 +16,7 @@ matrix:
os: linux
#if: everything!
before_script: cp ci/compat-Cargo.lock ./Cargo.lock
script: cargo build
script: cargo build --locked

- rust: stable
os: linux
Expand Down
21 changes: 16 additions & 5 deletions ci/compat-Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 73b1061

Please sign in to comment.