File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 66
66
//! Another issue pointed out in #8364 was that `Cargo.lock` files were no
67
67
//! longer compatible on stable and nightly with each other. The underlying
68
68
//! 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 .
73
73
//!
74
74
//! To handle this difference in encoding of `Cargo.lock` we'll be employing
75
75
//! the standard scheme to change `Cargo.lock`:
You can’t perform that action at this time.
0 commit comments