File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6666//! Another issue pointed out in #8364 was that `Cargo.lock` files were no
6767//! longer compatible on stable and nightly with each other. The underlying
6868//! issue is that Cargo was serializing `branch = "master"` *differently* on
69- //! nightly than it was on stable. Historical implementations of Cargo
70- //! desugared `branch = "master"` to having not dependency directives in
71- //! `Cargo.lock`, which means when reading `Cargo. lock` we can't differentiate
72- //! what's for the default branch and what's for the `master` branch .
69+ //! nightly than it was on stable. Historical implementations of Cargo would
70+ //! encode `DefaultBranch` and `Branch( "master")` the same way in `Cargo.lock`,
71+ //! so when reading a lock file we have no way of differentiating between the
72+ //! two .
7373//!
7474//! To handle this difference in encoding of `Cargo.lock` we'll be employing
7575//! the standard scheme to change `Cargo.lock`:
You can’t perform that action at this time.
0 commit comments