[Commented On] D10085: copies-rust: remove an unnecessary format!() inside assert!()

SimonSapin phabricator at mercurial-scm.org
Tue Mar 2 08:13:02 UTC 2021


SimonSapin added a comment.


  > I recently update my Rust toolchain and `test-check-cargo-lock.t` started failing.
  
  If most of `Cargo.lock` was rewritten this is likely that the file was upgraded to the newer format: https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html#less-conflict-prone-cargolock-format. Lately I’ve been reverting that change with `hg revert rust/Cargo.lock && (cd rust && cargo +1.41.1 fetch)` which Cargo does automatically every time I change a `Cargo.toml` file such as to add a dependency.
  
  But looking up this blog post I see that support for this new format was introduced in 1.40.0. Since the oldest version we support is 1.41.1 (for Debian) maybe we should just do the upgrade.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10085/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D10085

To: martinvonz, #hg-reviewers, SimonSapin
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210302/d3985295/attachment-0002.html>


More information about the Mercurial-patches mailing list