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

Closed
wants to merge 25 commits into from
Closed

Commits on Sep 12, 2020

  1. Simplify iter zip struct doc

    pickfire committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    b1e481d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a261a2 View commit details
    Browse the repository at this point in the history
  3. Make all methods of Duration const

    Make the following methods of `Duration` unstable const under `duration_const_2`:
     - `from_secs_f64`
     - `from_secs_f32`
     - `mul_f64`
     - `mul_f32`
     - `div_f64`
     - `div_f32`
    
    This results in all methods of `Duration` being (unstable) const.
    
    Also adds tests for these methods in a const context, moved the test to `library` as part of rust-lang#76268.
    
    Possible because of rust-lang#72449, which made the relevant `f32` and `f64` methods const.
    
    Tracking issue: rust-lang#72440
    CDirkx committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    73e0a56 View commit details
    Browse the repository at this point in the history
  4. Add mailmap entry

    CDirkx committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    869021e View commit details
    Browse the repository at this point in the history
  5. Mark Once::new as #[inline].

    Without this, it was not inlined in SyncOnceCell::into_inner(), causing
    unecessary checks and dead code.
    m-ou-se committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    aa68aaa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4f0047e View commit details
    Browse the repository at this point in the history
  7. Fix a typo

    nox committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    75f0f7a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    caf6c92 View commit details
    Browse the repository at this point in the history
  9. Remove Windows details from Unix and VmWorks symlink() docstrings

    This note is not relevant to other operating systems.
    nicholasbishop committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    2eeb8f1 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2020

  1. Configuration menu
    Copy the full SHA
    f75d29f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb41740 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20a2e09 View commit details
    Browse the repository at this point in the history
  4. Add Atomic*::from_mut.

    The atomic equivalent of Cell::from_mut.
    m-ou-se committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    458aaba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3be40b2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cf07201 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#74532 - fusion-engineering-forks:atomic-fro…

    …m-mut, r=KodrAus
    
    Add Atomic*::from_mut.
    
    The atomic equivalent of [`Cell::from_mut`](https://doc.rust-lang.org/stable/std/cell/struct.Cell.html#method.from_mut).
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    aaa0334 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76335 - CDirkx:const-duration, r=ecstatic-m…

    …orse
    
    Make all methods of `Duration` unstably const
    
    Make the following methods of `Duration` unstable const under `duration_const_2`:
     - `from_secs_f64`
     - `from_secs_f32`
     - `mul_f64`
     - `mul_f32`
     - `div_f64`
     - `div_f32`
    
    This results in all methods of `Duration` being (unstable) const.
    
    Moved the tests to `library` as part of rust-lang#76268.
    
    Possible because of rust-lang#72449, which made the relevant `f32` and `f64` methods const.
    
    Tracking issue: rust-lang#72440
    
    r? @ecstatic-morse
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    d6dbe32 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76629 - pickfire:patch-4, r=jonas-schievink

    Simplify iter zip struct doc
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    e2d51e9 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#76640 - fusion-engineering-forks:synconcece…

    …ll-drop, r=matklad
    
    Simplify SyncOnceCell's `take` and `drop`.
    
    Prevents copies by using `assume_init_read` and `assume_init_drop`.
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    52ad7dc View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#76641 - nox:pointee-random-stuff, r=eddyb

    Some cleanup changes and commenting
    
    r? @nikomatsakis
    Cc @eddyb
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    74f34a1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dc779fa View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#76651 - nicholasbishop:bishop-remove-window…

    …s-note, r=Mark-Simulacrum
    
    Remove Windows details from Unix and VmWorks symlink() docstrings
    
    This note is not relevant to other operating systems.
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    99ecad7 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#76662 - RalfJung:lib-test-miri, r=Mark-Simu…

    …lacrum
    
    Fix liballoc test suite for Miri
    
    Mostly, fix the regression introduced by rust-lang#75207 that caused slices (i.e., references) to be created to invalid memory or memory that has aliasing pointers that we want to keep valid. @dylni  this changes the type of `check_range` to only require the length, not the full reference to the slice, which indeed is all the information this function requires.
    
    Also reduce the size of a test introduced in rust-lang#70793 to make it not take 3 minutes in Miri.
    
    This makes https://github.com/RalfJung/miri-test-libstd work again.
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    5882871 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#76663 - pickfire:patch-7, r=jonas-schievink

    Simplify iter chain struct doc
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    b83d585 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#76667 - matklad:patch-llvm, r=Mark-Simulacrum

    Fix CI LLVM to work on NixOS out of the box
    
    r? @Mark-Simulacrum
    
    Tested locally, seems to work!
    RalfJung committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    115ebea View commit details
    Browse the repository at this point in the history