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

Merged
merged 27 commits into from
Sep 16, 2020
Merged

Rollup of 10 pull requests #76781

merged 27 commits into from
Sep 16, 2020

Commits on Aug 29, 2020

  1. Add more info for Vec Drain doc

    See its documentation for more
    pickfire committed Aug 29, 2020
    Configuration menu
    Copy the full SHA
    ba4c498 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7148412 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Use inline(never) instead of cold

    inline(never) is better way to avoid optimizer to inline the function instead of cold.
    howard0su committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    a80d390 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2020

  1. Add Arith Tests in Library

    Ayush Kumar Mishra committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    941dca8 View commit details
    Browse the repository at this point in the history
  2. Minor refactoring

    Ayush Kumar Mishra committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    dc37b55 View commit details
    Browse the repository at this point in the history
  3. Move Various str tests in library

    Ayush Kumar Mishra committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    7d834c8 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Configuration menu
    Copy the full SHA
    d85db82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b0d0a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2020

  1. Update bootstrap readme

    - Reflect changes in x.py defaults
    - Remove recommendation to use nightly for incremental; it works fine on
    beta
    - Remove note that incremental chooses stage 1 by default; stage 1 is
    already the default
    - Update Discord -> Zulip
    jyn514 committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    85ab152 View commit details
    Browse the repository at this point in the history
  2. 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
  3. Configuration menu
    Copy the full SHA
    4f0047e View commit details
    Browse the repository at this point in the history
  4. 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
  5. Configuration menu
    Copy the full SHA
    caf6c92 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    1f572b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d888725 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c528d24 View commit details
    Browse the repository at this point in the history
  4. hopefully fix rustdoc links

    RalfJung committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    7d67546 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Rollup merge of rust-lang#76056 - pickfire:patch-10, r=jyn514

    Add more info for Vec Drain doc
    
    See its documentation for more
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    73858d0 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#76062 - pickfire:patch-13, r=jyn514

    Vec slice example fix style and show type elision
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    fd86705 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#76262 - howard0su:patch-1, r=cramertj

    Use inline(never) instead of cold
    
    inline(never) is better way to avoid optimizer to inline the function instead of cold.
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    19a62db View commit details
    Browse the repository at this point in the history
  4. 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 16, 2020
    Configuration menu
    Copy the full SHA
    22dd07d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#76366 - ayushmishra2005:arith_tests_in_libr…

    …ary, r=jyn514
    
    Add Arith Tests in Library
    
    Added Arith Tests library as a part of rust-lang#76268
    
    r? @matklad
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    c1a74a3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#76369 - ayushmishra2005:move_various_str_te…

    …sts_library, r=jyn514
    
    Move Various str tests in library
    
    Moved various string ui  tests in library  as a part of rust-lang#76268
    
    r? @matklad
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    3a4de42 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#76534 - notriddle:doc-comments, r=jyn514

    Add doc comments for From impls
    
    rust-lang#51430
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    17015cd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76622 - jyn514:bootstrap-readme, r=Mark-Sim…

    …ulacrum
    
    Update bootstrap readme
    
    - Reflect changes in x.py defaults
    - Remove recommendation to use nightly for incremental; it works fine on
    beta
    - Remove note that incremental chooses stage 1 by default; stage 1 is
    already the default
    - Update Discord -> Zulip
    
    r? @Mark-Simulacrum
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    1ff91d6 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76641 - nox:pointee-random-stuff, r=eddyb

    Some cleanup changes and commenting
    
    r? @nikomatsakis
    Cc @eddyb
    RalfJung committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    0bcc96d View commit details
    Browse the repository at this point in the history
  10. 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 16, 2020
    Configuration menu
    Copy the full SHA
    9d0a265 View commit details
    Browse the repository at this point in the history