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

Give precedence to local shared files over global ones #1324

Merged
merged 1 commit into from
Mar 21, 2021

Commits on Mar 21, 2021

  1. Give precedence to local shared files over global ones

    When serving 'essential files', we can either serve the global one,
    created when building `empty_library`, or the local one, created when
    building the local crate. Currently we default to the global one, but
    this causes issues when the file should never have been global in the
    first place (such as recently for `crates.js`: see
    rust-lang#1313).
    
    This gives precedence to the local file so that the bug will be fixed
    when rustdoc fixes it, even if we forget to update
    `ESSENTIAL_FILES_UNVERSIONED`.
    jyn514 committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    214710f View commit details
    Browse the repository at this point in the history