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 10 pull requests #61783

Closed
wants to merge 22 commits into from
Closed

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 authored 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. Deprecate ONCE_INIT

    Once::new() has been a stable const fn for a while now.
    
    Closes rust-lang#61746
    sfackler committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    d5df2a8 View commit details
    Browse the repository at this point in the history
  4. Update cargo

    ehuss committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    11024fa View commit details
    Browse the repository at this point in the history
  5. 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
  6. Configuration menu
    Copy the full SHA
    eb09daa View commit details
    Browse the repository at this point in the history
  7. 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 authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    20858c4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#61398 - kennytm:stabilize-copy-within, r=Si…

    …monSapin
    
    Stabilize copy_within
    
    Closes rust-lang#54236.
    Centril authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    648a529 View commit details
    Browse the repository at this point in the history
  9. 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 authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    55df67d View commit details
    Browse the repository at this point in the history
  10. 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 authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    474657c View commit details
    Browse the repository at this point in the history
  11. 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 authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    d61e2f2 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#61757 - sfackler:deprecate-once-init, r=ale…

    …xcrichton
    
    Deprecate ONCE_INIT
    
    Once::new() has been a stable const fn for a while now.
    
    Closes rust-lang#61746
    Centril authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    4bcf433 View commit details
    Browse the repository at this point in the history
  13. 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 authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    64f545b View commit details
    Browse the repository at this point in the history
  14. 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 authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    7296a64 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#61771 - ehuss:update-cargo, r=alexcrichton

    Update cargo
    
    Update cargo
    
    19 commits in 545f354259be4e9745ea00a524c0e4c51df01aa6..807429e1b6da4e2ec52488ef2f59e77068c31e1f
    2019-05-23 17:45:30 +0000 to 2019-06-11 14:06:10 +0000
    - Stabilize publish-lockfile. (rust-lang/cargo#7026)
    - change package cache lock message (rust-lang/cargo#7029)
    - Fix documenting an example. (rust-lang/cargo#7023)
    - Fix nonconcurrent tests (rust-lang/cargo#6900)
    - Update git2 crates for libgit2 0.28 (rust-lang/cargo#7018)
    - fix bunch of clippy warnings (rust-lang/cargo#7019)
    - Ignore remap-path-prefix in metadata hash. (rust-lang/cargo#6966)
    - Don't synthesize feature diretives for non-optional deps (rust-lang/cargo#7010)
    - Handle pipelined tests of libraries (rust-lang/cargo#7008)
    - Import the cargo-vendor subcommand into Cargo (rust-lang/cargo#6869)
    - Remove unnecessary outlives bounds (rust-lang/cargo#7000)
    - Catch filename output collisions in rustdoc. (rust-lang/cargo#6998)
    - the testing SAT solver was messed up by a refactor (rust-lang/cargo#6995)
    - Add some hints to the docs for `cfg()` targets (rust-lang/cargo#6990)
    - Test the Resolver against the varisat Library (rust-lang/cargo#6980)
    - Update changelog. (rust-lang/cargo#6984)
    - Update cache-messages tracking issue. (rust-lang/cargo#6987)
    - zsh: Add --all-targets option to cargo-check and cargo-build (rust-lang/cargo#6985)
    - Fix typo (rust-lang/cargo#6982)
    Centril authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    307ab9a View commit details
    Browse the repository at this point in the history
  16. 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 authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    8547e44 View commit details
    Browse the repository at this point in the history