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

Rollup of 9 pull requests #74957

Merged
merged 21 commits into from
Jul 30, 2020
Merged

Rollup of 9 pull requests #74957

merged 21 commits into from
Jul 30, 2020

Commits on Jul 25, 2020

  1. Configuration menu
    Copy the full SHA
    1d2e3ff View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Configuration menu
    Copy the full SHA
    f22a34e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. Don't use "weak count" around Weak::from_raw_ptr

    As `Rc/Arc::weak_count` returns 0 when having no strong counts, this
    could be confusing and it's better to avoid using that completely.
    
    Closes rust-lang#73840.
    vorner committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    ad6d63e View commit details
    Browse the repository at this point in the history
  2. Enable docs on dist-x86_64-musl

    Add the rust-docs component to toolchain x86_64-unknown-linux-musl, which allows
    people using rustup on their musl-based linux distribution to download the
    rust-docs.
    David Sonder committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    b5d143b View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Avoid bool-like naming

    tesuji committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    0374006 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    759de11 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Configuration menu
    Copy the full SHA
    8046fea View commit details
    Browse the repository at this point in the history
  2. Fix ui tests

    nbdd0121 committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    4e963d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89e4fe3 View commit details
    Browse the repository at this point in the history
  4. rustc: Ignore fs::canonicalize errors in metadata

    This commit updates the metadata location logic to ignore errors when
    calling `fs::canonicalize`. Canonicalization was added historically so
    multiple `-L` paths to the same directory don't print errors about
    multiple candidates (since rustc can deduplicate same-named paths), but
    canonicalization doesn't work on all filesystems. Cargo, for example,
    always uses this sort of fallback where it will opportunitistically try
    to canonicalize but fall back to using the input path if it otherwise
    doesn't work.
    
    If rustc is run on a filesystem that doesn't support canonicalization
    then the effect of this change will be that `-L` paths which logically
    point to the same directory will cause errors, but that's a rare enough
    occurrence it shouldn't cause much issue in practice. Otherwise rustc
    doesn't work at all today on those sorts of filesystem where
    canonicalization isn't supported!
    alexcrichton committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    cd8bdb5 View commit details
    Browse the repository at this point in the history
  5. 1.45.1 release

    (cherry picked from commit 9e5fb40)
    Mark-Simulacrum authored and cuviper committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    e1e01f7 View commit details
    Browse the repository at this point in the history
  6. Update release notes

    (cherry picked from commit 32166ab)
    Mark-Simulacrum authored and cuviper committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    19d191b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7e86c8e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#74782 - vorner:weak-into-raw-cnt-doc, r=dto…

    …lnay
    
    Don't use "weak count" around Weak::from_raw_ptr
    
    As `Rc/Arc::weak_count` returns 0 when having no strong counts, this
    could be confusing and it's better to avoid using that completely.
    
    Closes rust-lang#73840.
    Manishearth authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    4637968 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    172b3a7 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#74871 - etherealist:musl_doc, r=Mark-Simula…

    …crum
    
    Enable docs on dist-x86_64-musl
    
    Add the `rust-docs` component to toolchain `x86_64-unknown-linux-musl`, which allows people using rustup on their musl-based linux distribution to download the rust-docs.
    
    `--disable-docs` is based on the assumption that `x86_64-unknown-linux-musl` is only a cross-compile target.
    
    I have tested that the docs are built. I assume the build-system will automatically detect the docs and create a `rust-docs` component. I will [monitor](https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-musl.html) the components and create a follow-up PR, if the docs aren't published.
    
    See also rust-lang#70619, where we enabled `rust-lld` to enable the wasm-workflow on musl-based linux distributions.
    Manishearth authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    8892785 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#74905 - lzutao:listed, r=jyn514

    Avoid bool-like naming
    
    Lost in rust-lang#74127 (comment)
    Manishearth authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    e823af6 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#74907 - GuillaumeGomez:cleanup-e0740, r=pic…

    …kfire
    
    Clean up E0740 explanation
    
    r? @Dylan-DPC
    Manishearth authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    2c6c764 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#74915 - alexcrichton:allow-failing-canonica…

    …lize, r=Mark-Simulacrum
    
    rustc: Ignore fs::canonicalize errors in metadata
    
    This commit updates the metadata location logic to ignore errors when
    calling `fs::canonicalize`. Canonicalization was added historically so
    multiple `-L` paths to the same directory don't print errors about
    multiple candidates (since rustc can deduplicate same-named paths), but
    canonicalization doesn't work on all filesystems. Cargo, for example,
    always uses this sort of fallback where it will opportunitistically try
    to canonicalize but fall back to using the input path if it otherwise
    doesn't work.
    
    If rustc is run on a filesystem that doesn't support canonicalization
    then the effect of this change will be that `-L` paths which logically
    point to the same directory will cause errors, but that's a rare enough
    occurrence it shouldn't cause much issue in practice. Otherwise rustc
    doesn't work at all today on those sorts of filesystem where
    canonicalization isn't supported!
    Manishearth authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    0a45b13 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#74934 - nbdd0121:issue-73976, r=ecstatic-morse

    Improve diagnostics when constant pattern is too generic
    
    This PR is a follow-up to PR rust-lang#74538 and issue rust-lang#73976
    
    When constants queries Layout, TypeId or type_name of a generic parameter, instead of emitting `could not evaluate constant pattern`, we will instead emit a more detailed message `constant pattern depends on a generic parameter`.
    Manishearth authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    b0d4261 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#74951 - cuviper:relnotes-1.45.1, r=jonas-sc…

    …hievink
    
    Cherry-pick the release notes for 1.45.1
    Manishearth authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    9eb5026 View commit details
    Browse the repository at this point in the history