Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[beta] Fix old lockfile encoding wrt newlines #7274

Merged
merged 1 commit into from
Aug 20, 2019

Commits on Aug 20, 2019

  1. Fix old lockfile encoding wrt newlines

    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.
    
    Closes rust-lang#7254
    alexcrichton committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    458d607 View commit details
    Browse the repository at this point in the history