You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit fixes "old lockfile" encodings back to what they were prior
to rust-lang#7070 with respect to newlines. The changes in rust-lang#7070 accidentally
introduced a change where old lockfiles might have some extraneous
newlines removed unintentionally.
In rust-lang#7070 it was attempted to clean up how newlines are emitted to ensure
a trailing blank newline never shows up at the end of the file, but this
acccidentally regressed cases where today we actually do have blank
newlines at the end of lock files. This commit instead restores all the
previous newline handling, and then scopes the "remove trailing
newlines" fix to specifically just the new encoding.
Closesrust-lang#7254
0 commit comments