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 6 pull requests #70878

Closed
wants to merge 27 commits into from
Closed

Commits on Apr 2, 2020

  1. link with "libssp" on *-sun-solaris systems

    LLVM will insert calls to the stack protector functions
    "__stack_chk_fail" and "__stack_chk_guard" into code in native object
    files.  Some platforms include these symbols directly in libc, but at
    least historically these have been provided in libssp.so on illumos and
    Solaris systems.  Include "-lssp" in the arguments to the linker when
    building for those targets.
    jclulow committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    d730bf9 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2020

  1. Configuration menu
    Copy the full SHA
    2c9d857 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbdff51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aecaeab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1f3e247 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Configuration menu
    Copy the full SHA
    c8b83ba View commit details
    Browse the repository at this point in the history
  2. Bump nomicon submodule

    faern committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    e1a36e8 View commit details
    Browse the repository at this point in the history
  3. Bump rust-by-example submodule

    faern committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    d0a78ea View commit details
    Browse the repository at this point in the history
  4. Bump stdarch submodule

    faern committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    01b3293 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    65e10e3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cf1c7ed View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ebcf1e7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    09b5d66 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e4fc04b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3e4396b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    68b1af6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cf8df01 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f7778d3 View commit details
    Browse the repository at this point in the history
  14. Use split_at in slice's ToOwned::clone_into

    It appears to codegen slightly more efficiently with `split_at` taking
    two slices at once, rather than slicing across different calls.
    cuviper committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    e8339e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. Implement ToOwned::clone_into for CStr

    It can try to keep its allocation by converting the inner `Box` to
    `Vec`, using `clone_into` on the bytes, then convert back to `Box`.
    cuviper committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    b80fa76 View commit details
    Browse the repository at this point in the history
  2. Forward OsStr::clone_into to the inner Vec

    Despite OS differences, they're all just `Vec<u8>` inside, so we can
    just forward `clone_into` calls to that optimized implementation.
    cuviper committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    f854070 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#70201 - cuviper:clone_into, r=dtolnay

    Small tweaks in ToOwned::clone_into
    
    - `<[T]>::clone_into` is slightly more optimized.
    - `CStr::clone_into` is new, letting it reuse its allocation.
    - `OsStr::clone_into` now forwards to the underlying slice/`Vec`.
    Centril authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    c966511 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#70682 - jclulow:illumos-libssp, r=nagisa

    link with "libssp" on *-sun-solaris systems
    
    LLVM will insert calls to the stack protector functions
    "__stack_chk_fail" and "__stack_chk_guard" into code in native object
    files.  Some platforms include these symbols directly in libc, but at
    least historically these have been provided in libssp.so on illumos and
    Solaris systems.  Include "-lssp" in the arguments to the linker when
    building for those targets.
    Centril authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    94d4c0e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#70762 - RalfJung:miri-leak-check, r=oli-obk

    Miri leak check: memory reachable through globals is not leaked
    
    Also make Miri memory dump prettier by sharing more code with MIR dumping, and fix a bug where the Miri memory dump would print some allocations twice.
    
    r? @oli-obk
    
    Miri PR: rust-lang/miri#1301
    Centril authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    5b7a874 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#70846 - tmiasko:compiler-builtins-codegen-u…

    …nits, r=alexcrichton
    
    Keep codegen units unmerged when building compiler builtins
    
    Make it possible to control how mono items are partitioned into code generation
    units, when compiling the compiler builtins, by retaining the original partitioning.
    
    Helps with rust-lang#48625, rust-lang#61063, rust-lang#67960, rust-lang#70489.
    
    r? @alexcrichton
    Centril authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    ea29e7b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#70854 - faern:use-assoc-int-submodules, r=d…

    …tolnay
    
    Use assoc int submodules
    
    Bumping some submodules to the commits their masters currently point at. The main point of this is to get the associated integer/float constant documentation updates that were recently merged to them:
    
    * rust-lang/nomicon#207
    * rust-lang/rust-by-example#1327
    * rust-lang/stdarch#848
    
    But for some, a few more changes slipped by that happened to be in the master branch of these submodules.
    
    r? @dtolnay
    Centril authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    61cd420 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#70857 - faern:use-assoc-int-float-consts, r…

    …=dtolnay
    
    Don't import integer and float modules, use assoc consts 2
    
    Follow up to rust-lang#70777. I missed quite a lot of places. Partially because I wanted to keep the size of the last PR down, and partially because my regexes were not good enough :)
    
    r? @dtolnay
    Centril authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    17c5a81 View commit details
    Browse the repository at this point in the history