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 13 pull requests #74158

Closed
wants to merge 28 commits into from

Commits on Jul 3, 2020

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

Commits on Jul 6, 2020

  1. Suppress debuginfo on naked function arguments

    A function that has no prologue cannot be reasonably expected to support
    debuginfo. In fact, the existing code (before this patch) would generate
    invalid instructions that caused crashes. We can solve this easily by
    just not emitting the debuginfo in this case.
    
    Fixes rust-lang#42779
    cc rust-lang#32408
    npmccallum committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    6b59cac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5702e02 View commit details
    Browse the repository at this point in the history
  3. Add UI test for issue 74082

    nbdd0121 committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    97867bb View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Configuration menu
    Copy the full SHA
    56fb717 View commit details
    Browse the repository at this point in the history
  2. Update books

    ehuss committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    b50c13c View commit details
    Browse the repository at this point in the history
  3. Update rust-installer to latest version

    This pulls in a fix for the install script on some tr(1) implementations,
    as well as an update to use `anyhow` instead of `failure` for error
    handling.
    michaelforney committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    32025fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd07774 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Liballoc use vec instead of vector

    Keep congruency with other parts, full word vector is rarely used.
    pickfire authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    7bc85e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0965443 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c63fba View commit details
    Browse the repository at this point in the history
  4. Fix cross-compilation of LLVM to aarch64 Windows targets

    When cross-compiling, the LLVM build system recurses to build tools
    that need to run on the host system. However, since we pass cmake defines
    to set the compiler and target, LLVM still compiles these tools for the
    target system, rather than the host. The tools then fail to execute
    during the LLVM build.
    
    This change sets defines for the tools that need to run on the
    host (llvm-nm, llvm-tablegen, and llvm-config), so that the LLVM build
    does not attempt to build them, and instead relies on the tools already built.
    
    If compiling with clang-cl, this change also adds the `--target` option
    to specify the target triple. MSVC compilers do not require this, since there
    is a separate compiler binary for cross-compilation.
    arlosi committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    59f979f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26353ea View commit details
    Browse the repository at this point in the history
  6. Avoid "blacklist"

    Other terms are more inclusive and precise.
    
    Clippy still has a lint named "blacklisted-name", but renaming it would
    be a breaking change, so is left for future work.
    
    The target configuration option "abi-blacklist" has been depreciated and
    renamed to "unsupported-abis". The old name continues to work.
    tamird committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    1e567c1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7238726 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#73989 - RalfJung:ub-enum-test, r=oli-obk

    adjust ub-enum test to be endianess-independent
    
    @cuviper noted that our test fails on "other" endianess systems (I never know which is which^^), so let's fix that.
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    d53ba34 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#74105 - npmccallum:naked, r=matthewjasper

    Suppress debuginfo on naked function arguments
    
    A function that has no prologue cannot be reasonably expected to support
    debuginfo. In fact, the existing code (before this patch) would generate
    invalid instructions that caused crashes. We can solve this easily by
    just not emitting the debuginfo in this case.
    
    Fixes rust-lang#42779
    cc rust-lang#32408
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    201ed98 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#74109 - nbdd0121:issue-74082, r=petrochenkov

    Only allow `repr(i128/u128)` on enum
    
    Fixes rust-lang#74082
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    9220430 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#74116 - arlosi:aarch64build, r=pietroalbini

    Fix cross compilation of LLVM to aarch64 Windows targets
    
    When cross-compiling, the LLVM build system recurses to build tools that need to run on the host system. However, since we pass cmake defines to set the compiler and target, LLVM still compiles these tools for the target system, rather than the host. The tools then fail to execute during the LLVM build.
    
    This change sets defines for the tools that need to run on the host (llvm-nm, llvm-tablegen, and llvm-config), so that the LLVM build does not attempt to build them, and instead relies on the tools already built.
    
    If compiling with clang-cl, adds the `--target` option to specify the target triple. MSVC compilers do not require this, since there is a separate compiler binary for each cross-compilation target.
    
    Related issue: rust-lang#72881
    Requires LLVM change: rust-lang/llvm-project#67
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    7d056b7 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#74125 - ayazhafiz:i/74050, r=matthewjasper

    Correctly mark the ending span of a match arm
    
    Closes rust-lang#74050
    
    r? @matthewjasper
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    5be2dd9 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#74131 - ollie27:rustdoc_invalid_codeblock_a…

    …ttributes_name, r=GuillaumeGomez
    
    rustdoc: Rename invalid_codeblock_attribute lint to be plural
    
    Lint names should be plural as per the lint naming conventions: https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#lints
    
    r? @GuillaumeGomez
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    d1c1a57 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#74135 - ehuss:update-books, r=ehuss

    Update books
    
    ## book
    
    3 commits in 4e7c00bece1544d409312ec93467beb62b5bd0cb..84a31397b34f9d405df44f2899ff17a4828dba18
    2020-06-19 09:39:12 -0400 to 2020-07-04 10:50:18 -0500
    - Update Windows install instructions (rust-lang/book#2389)
    - Update ch01-02-hello-world.md (rust-lang/book#2386)
    - bump mdbook version in github action (rust-lang/book#2380)
    
    ## reference
    
    2 commits in 04d5d5d7ba624b6f5016298451f3a63d557f3260..0ea7bc494f1289234d8800bb9185021e0ad946f0
    2020-06-16 15:08:05 -0700 to 2020-07-02 15:33:04 -0700
    - Fix mis-capitalization of type name. (rust-lang/reference#844)
    - Fix name of trait for array indexing. (rust-lang/reference#840)
    
    ## embedded-book
    
    1 commits in 616962ad0dd80f34d8b802da038d0aed9dd691bb..94d9ea8460bcbbbfef1877b47cb930260b5849a7
    2020-06-23 16:03:45 +0000 to 2020-07-05 14:17:40 +0000
    - Note on transformation of static variables by attribute exception  (rust-embedded/book#251)
    
    ## rust-by-example
    
    1 commits in 6f94ccb48da6fa4ed0031290f21411cf789f7d5e..229c6945a26a53a751ffa4f9cb418388c00029d3
    2020-06-20 17:51:30 -0300 to 2020-07-06 10:13:15 -0300
    - Modify comments (rust-lang/rust-by-example#1359)
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    d1335f8 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#74136 - JohnTitor:index-page-link, r=Guilla…

    …umeGomez
    
    Fix broken link in rustdocdoc
    
    The previous link redirects to https://www.rust-lang.org/learn.
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    4e779d1 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#74142 - pickfire:patch-1, r=dtolnay

    Liballoc use vec instead of vector
    
    Keep congruency with other parts, full word vector is rarely used.
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    2317dc0 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#74143 - pickfire:patch-2, r=jonas-schievink

    Try remove unneeded ToString import in liballoc slice
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    c06632e View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#74145 - michaelforney:rust-installer, r=Mar…

    …k-Simulacrum
    
    Update rust-installer to latest version
    
    This pulls in a fix for the install script on some tr(1) implementations,
    as well as an update to use `anyhow` instead of `failure` for error
    handling.
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    a93c6e5 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#74150 - tamird:blocklist, r=nikomatsakis

    Avoid "blacklist"
    
    Other terms are more inclusive and precise.
    
    Clippy still has a lint named "blacklisted-name", but renaming it would
    be a breaking change, so is left for future work.
    
    The target configuration option "abi-blacklist" has been depreciated and
    renamed to "unsupported-abis". The old name continues to work.
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    0a2bacf View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#74153 - ehuss:fix-bootstrap-test-librustc, …

    …r=Mark-Simulacrum
    
    Fix x.py test for librustc crates.
    
    rust-lang#73352 introduced a bug where `x.py test src/librustc_ast` would fail to actually run the tests. The issue is that `krate` and `all_krates` were changed to return relative paths. This caused the code to do a test of "relative_path ends with absolute path" which is always false.  The solution is to swap that around.
    
    The change to `Crate` isn't necessary, it just simplifies the code and makes it uniform with `CrateLibrustc`.
    Manishearth authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    73b5236 View commit details
    Browse the repository at this point in the history