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 #61789

Merged
merged 20 commits into from
Jun 13, 2019
Merged

Rollup of 9 pull requests #61789

merged 20 commits into from
Jun 13, 2019

Commits on May 31, 2019

  1. Stabilize copy_within

    kennytm committed May 31, 2019
    Configuration menu
    Copy the full SHA
    be6fc6a View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2019

  1. copy_within: replace element access by pointer arithmetic to avoid UB

    This ensures we won't accidentally read *src or *dest even when count = 0.
    kennytm committed Jun 2, 2019
    Configuration menu
    Copy the full SHA
    aac9bc5 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. Update src/libcore/tests/slice.rs

    Co-Authored-By: Jack O'Connor <oconnor663@gmail.com>
    kennytm and oconnor663 committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    427f1a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2019

  1. Stabilize Option::xor

    tesuji committed Jun 5, 2019
    Configuration menu
    Copy the full SHA
    1fa50b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2019

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

Commits on Jun 11, 2019

  1. Fix x.py install

    Make sure we look for save analysis in the right place. Fixes rust-lang#61703.
    tmandry committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    4f3cd3c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. rustbuild: fix libtest_stamp

    Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
    Keruspe committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    e7b5586 View commit details
    Browse the repository at this point in the history
  2. ci: fix ci stats upload condition

    The condition I suggested in rust-lang#61632 was not correct and it errors out
    while evaluating. This fixes the condition.
    
    Example of a failure:
    https://dev.azure.com/rust-lang/rust/_build/results?buildId=543
    pietroalbini committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    2cd516c View commit details
    Browse the repository at this point in the history
  3. Fix typos

    JohnTitor committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    b8f1491 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eb09daa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7c8644d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#60376 - lzutao:stabilize-option_xor, r=Simo…

    …nSapin
    
    Stabilize Option::xor
    
    FCP done in rust-lang#50512 (comment) .
    
    Closes rust-lang#50512 .
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    b35aeae View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#61398 - kennytm:stabilize-copy-within, r=Si…

    …monSapin
    
    Stabilize copy_within
    
    Closes rust-lang#54236.
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    a1ff450 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#61629 - petrochenkov:stdmac, r=alexcrichton

    Hygienize macros in the standard library
    
    Same as rust-lang#55597, but for all macros in the standard library.
    Nested macro calls will now call what they are intended to call rather than whatever is in the closest scope at call site.
    Technically this is a breaking change, so crater run would probably be useful.
    
    ---
    
    One exception that is not hygienized is calls to `panic!(...)`.
    Macros defined in libcore do not want to call `core::panic`.
    What they really want to call is either `std::panic` or `core::panic` depending on `no_std` settings.
    EDIT: After some thought, recursive calls to `panic` from `panic` itself probably do want to use `$crate` (UPDATE: done).
    
    Calling `std::panic` from macros defined in std and "whatever `panic` is in scope" from macros defined in libcore is probably even worse than always calling "whatever `panic` is in scope", so I kept the existing code.
    
    The only way to do the std/core switch correctly that I'm aware of is to define a built-in panic macro that would dispatch to `std::panic` or `core::panic` using compiler magic.
    Then standard library macros could delegate to this built-in macro.
    The macro could be named `panic` too, that would fix rust-lang#61567.
    (This PR doesn't do that.)
    
    ---
    cc rust-lang#56389
    cc rust-lang#61567
    Fixes rust-lang#61699
    r? @alexcrichton
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    96b5830 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#61675 - fintelia:riscv-frame-pointer, r=nagisa

    Include frame pointer for bare metal RISC-V targets
    
    This changes the default setting to enable the use of the frame pointer register when targeting RISC-V. On that architecture there is a dedicated frame pointer register which LLVM would otherwise never use so there is no increase in register pressure. Further, since these are bare metal targets, getting backtraces without the frame pointer is considerably more difficult (you can't just ask the OS to load the ELF executable and parse DWARF symbols). It is true that this setting can also be changed with the `-C force-frame-pointers` flag but that won't impact the compilation of the standard library, meaning that backtraces from, say, a panic handler would be useless.
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    0d8d08d View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#61750 - tmandry:fix-install, r=Mark-Simulacrum

    Fix x.py install
    
    Make sure we look for save analysis in the right place. Fixes rust-lang#61703.
    
    r? @Mark-Simulacrum
    cc @petrhosek @cramertj
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    4cbae09 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#61761 - lzutao:target-tuple-solaris, r=varkor

    Add an alias for x86_64-sun-solaris target tuple
    
    Closes rust-lang#40531
    
    r? @varkor
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    b03ffbc View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#61762 - Keruspe:rustbuild-libtest-fix, r=Ma…

    …rk-Simulacrum
    
    rustbuild: fix libtest_stamp
    
    Looks like an obvious copy/paste typo
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    555b2d9 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#61763 - pietroalbini:azure-fix-condition, r…

    …=alexcrichton
    
    ci: fix ci stats upload condition
    
    The condition I suggested in rust-lang#61632 was not correct and it errors out while evaluating. This fixes the condition. [Example of a failure](https://dev.azure.com/rust-lang/rust/_build/results?buildId=543).
    
    r? @alexcrichton
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    3272e6e View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#61776 - JohnTitor:fix-typo-in-error-codes, …

    …r=Centril
    
    Fix typos in error_codes
    
    `observedin` should be `observed in`.
    Centril committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    af281d2 View commit details
    Browse the repository at this point in the history