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 14 pull requests #77917

Merged
merged 40 commits into from
Oct 14, 2020
Merged

Rollup of 14 pull requests #77917

merged 40 commits into from
Oct 14, 2020

Commits on Oct 5, 2020

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

Commits on Oct 8, 2020

  1. Configuration menu
    Copy the full SHA
    e55d27f View commit details
    Browse the repository at this point in the history
  2. Remove unsafety from unsupported/mutex.rs by using a Cell.

    Replacing the UnsafeCell by a Cell simplifies things and makes it all
    safe.
    m-ou-se committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    c25f69a View commit details
    Browse the repository at this point in the history
  3. Remove unsafety from unsupported/rwlosck.rs by using a Cell.

    Replacing the UnsafeCell by a Cell makes it all safe.
    m-ou-se committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    3d192ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4e8842 View commit details
    Browse the repository at this point in the history
  5. Assert state in sys/unsupported's RwLock::write_unlock.

    Co-authored-by: Joshua Nelson <[email protected]>
    m-ou-se and Joshua Nelson authored Oct 8, 2020
    Configuration menu
    Copy the full SHA
    f1c3edb View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2020

  1. Mention rustdoc in x.py setup

    This also allows 'rustdoc' as a string for the compiler profile.
    jyn514 committed Oct 10, 2020
    Configuration menu
    Copy the full SHA
    23c3356 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2020

  1. min_const_generics diagnostics improvements

    2
    
    3
    eopb committed Oct 11, 2020
    Configuration menu
    Copy the full SHA
    d7029cb View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2020

  1. Make error help clearer

    Co-authored-by: varkor <[email protected]>
    eopb and varkor authored Oct 12, 2020
    Configuration menu
    Copy the full SHA
    eec4436 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d909d69 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ae5b0e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eb0c996 View commit details
    Browse the repository at this point in the history
  5. Remove a little jargon from error

    Co-authored-by: varkor <[email protected]>
    eopb and varkor authored Oct 12, 2020
    Configuration menu
    Copy the full SHA
    e62da8f View commit details
    Browse the repository at this point in the history
  6. A little rewording

    Co-authored-by: varkor <[email protected]>
    eopb and varkor authored Oct 12, 2020
    Configuration menu
    Copy the full SHA
    facb38d View commit details
    Browse the repository at this point in the history
  7. Include llvm-dis, llc and opt in llvm-tools-preview component

    Fixes rust-lang#55890
    
    It's useful to have `llc` and `opt` available when debugging an LLVM
    miscompilation,.
    Aaron1011 committed Oct 12, 2020
    Configuration menu
    Copy the full SHA
    c16c8ac View commit details
    Browse the repository at this point in the history
  8. Bless expected errors

    eopb committed Oct 12, 2020
    Configuration menu
    Copy the full SHA
    79351b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Configuration menu
    Copy the full SHA
    61e722f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45a34fc View commit details
    Browse the repository at this point in the history
  3. Replace absolute paths with relative ones

    Modern compilers allow reaching external crates
    like std or core via relative paths in modules
    outside of lib.rs and main.rs.
    est31 committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    a0fc455 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b26aa5d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b7080e6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8b6e346 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    af414dc View commit details
    Browse the repository at this point in the history
  8. Add regression issue template

    camelid committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    91cc3d2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6091538 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7a23a71 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#77239 - shepmaster:silicon-ci-plus, r=pietr…

    …oalbini
    
    Enable building Cargo for aarch64-apple-darwin
    
    r? @ghost
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    16612a9 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#77569 - ssomers:btree_cleanup_1, r=Mark-Sim…

    …ulacrum
    
    BTreeMap: type-specific variants of node_as_mut and cast_unchecked
    
    Improves debug checking and shortens some expressions. Extracted from rust-lang#77408
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    6a59621 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#77719 - fusion-engineering-forks:const-new-…

    …mutex-attr-cleanup, r=Mark-Simulacrum
    
    Remove unnecessary rustc_const_stable attributes.
    
    These attributes were added in rust-lang#74033 (comment) because of [std::io::lazy::Lazy::new](https://github.com/rust-lang/rust/blob/0c03aee8b81185d65b5821518661c30ecdb42de5/src/libstd/io/lazy.rs#L21-L23). But [std::io::lazy::Lazy is gone now](rust-lang#77154), so this can be cleaned up.
    
    @rustbot modify labels: +T-libs +C-cleanup
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    7de5fe7 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#77722 - fusion-engineering-forks:safe-unsup…

    …ported-locks, r=Mark-Simulacrum
    
    Remove unsafety from sys/unsupported and add deny(unsafe_op_in_unsafe_fn).
    
    Replacing `UnsafeCell`s by a `Cell`s simplifies things and makes the mutex and rwlock implementations safe. Other than that, only unsafety in strlen() contained unsafe code.
    
    @rustbot modify labels: +F-unsafe-block-in-unsafe-fn +C-cleanup
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    cc5a1aa View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#77725 - camelid:regression-template, r=Mark…

    …-Simulacrum
    
    Add regression issue template
    
    Feel free to suggest improvements!
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    1bb6eff View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#77776 - jyn514:wrong-way, r=Mark-Simulacrum

     Give an error when running `x.py test --stage 0 src/test/ui`
    
    The error can be overridden with `COMPILETEST_FORCE_STAGE0=1`. In practice I don't know why anyone would do this.
    
    r? @Mark-Simulacrum
    
    Closes rust-lang#77711
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    fe7e794 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#77786 - jyn514:rustdoc, r=Mark-Simulacrum

    Mention rustdoc in `x.py setup`
    
    This lets new contributors know which option they should pick; previously it wasn't clear 'compiler' also included rustdoc.
    
    Unresolved questions: should this say 'compiler and tools' instead? I don't know of any tools that are modified in-tree other than rustdoc, though.
    
    r? @Mark-Simulacrum
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    ec0cabd View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#77825 - ethanboxx:min_const_generics_diagno…

    …stic, r=lcnr
    
    `min_const_generics` diagnostics improvements
    
    As disscussed in [zulip/project-const-generics/non-trivial anonymous constant](https://rust-lang.zulipchat.com/#narrow/stream/260443-project-const-generics/topic/non-trivial.20anonymous.20constants).
    
    This is my first PR on the compiler.
    
    @lcnr is mentoring me on this PR.
    
    Related to rust-lang#60551.
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    c44cc7e View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#77868 - Aaron1011:llvm-tools-opt-llc, r=Mar…

    …k-Simulacrum
    
    Include `llvm-dis`, `llc` and `opt` in `llvm-tools-preview` component
    
    Fixes rust-lang#55890
    
    It's useful to have `llc` and `opt` available when debugging an LLVM
    miscompilation,.
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    c824787 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#77884 - LingMan:ast_pretty_unwrap_or, r=varkor

    Use Option::unwrap_or instead of open-coding it
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    31135e0 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#77886 - LingMan:ast_pretty_bool_matches, r=…

    …petrochenkov
    
    Replace trivial bool matches with the `matches!` macro
    
    This derives `PartialEq` on one enum (and two structs it contains) to enable the `==` operator for it. If there's some downside to this, I could respin with the `matches!` macro instead.
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    083638c View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#77892 - est31:remove_redundant_absolute_pat…

    …hs, r=lcnr
    
    Replace absolute paths with relative ones
    
    Modern compilers allow reaching external crates
    like std or core via relative paths in modules
    outside of lib.rs and main.rs.
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    70f8e1a View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#77895 - shepmaster:silicon-manifest, r=piet…

    …roalbini
    
    Include aarch64-apple-darwin in the dist manifests
    
    r? @ehuss
    
    /cc @pietroalbini @Mark-Simulacrum
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    b24e25d View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#77909 - pietroalbini:fix-build-manifest-pat…

    …h, r=Mark-Simulacrum
    
    bootstrap: set correct path for the build-manifest binary
    
    This changes the path of the binary inside the tarball to be:
    
    ```
    build-manifest-{release}-{target}/build-manifest/bin/build-manifest
    ```
    
    ...instead of:
    
    ```
    build-manifest-{release}-{target}/build-manifest/bin/build-manifest/build-manifest
    ```
    
    r? @Mark-Simulacrum
    JohnTitor authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    b4a3b56 View commit details
    Browse the repository at this point in the history