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 7 pull requests #129615

Merged
merged 23 commits into from
Aug 26, 2024
Merged

Rollup of 7 pull requests #129615

merged 23 commits into from
Aug 26, 2024

Commits on Aug 17, 2024

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

Commits on Aug 18, 2024

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

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    9b5a004 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c89bae0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38b5a2a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    79cbb87 View commit details
    Browse the repository at this point in the history
  5. fix(core): Add #![feature(unbounded_shifts)] to doctests for `unbou…

    …nded_shr`/`unbounded_shl`
    chorman0773 committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    9907f61 View commit details
    Browse the repository at this point in the history
  6. chore: x fmt

    chorman0773 committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    27b63b8 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    2cf48ea View commit details
    Browse the repository at this point in the history
  2. feat(core): Make unbounded_shl{l,r} unstably const and remove `rust…

    …c_allow_const_fn_unstable`
    chorman0773 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    f4dc783 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. link to Future::poll from the Poll docs

    The most important thing about Poll is that Future::poll returns it, but
    previously the docs didn't emphasize this.
    oconnor663 committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    3153b7d View commit details
    Browse the repository at this point in the history
  2. pal/hermit: correctly round up microseconds in Thread::sleep

    Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
    mkroening committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    687c8a1 View commit details
    Browse the repository at this point in the history
  3. pal/hermit: saturate usleep microseconds at u64::MAX

    Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
    mkroening committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    edeefc5 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    4f3ef2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c31b9fa View commit details
    Browse the repository at this point in the history
  3. Tie impl_trait_overcaptures lint to Rust 2024

    The `impl_trait_overcaptures` lint is part of the migration to Rust
    2024 and the Lifetime Capture Rules 2024.  Now that we've stabilized
    precise capturing (RFC 3617), let's tie this lint to the
    `rust_2024_compatibility` lint group.
    traviscross committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    6982785 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#129190 - rezwanahmedsami:master, r=tgross35

    Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs
    
    Fixes rust-lang#129163
    
    try-job: x86_64-msvc
    try-job: x86_64-mingw
    try-job: i686-msvc
    try-job: i686-mingw
    matthiaskrgr authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    dedfb35 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#129377 - chorman0773:unbounded-shifts-impl,…

    … r=scottmcm
    
    Add implementations for `unbounded_shl`/`unbounded_shr`
    
    Tracking Issue: rust-lang#129375
    
    This implements `unbounded_shl` and `unbounded_shr` under the feature gate `unbounded_shifts`
    matthiaskrgr authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    68aff29 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#129539 - oconnor663:poll_link, r=tgross35

    link to Future::poll from the Poll docs
    
    The most important thing about Poll is that Future::poll returns it, but previously the docs didn't emphasize this.
    matthiaskrgr authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    b1c9064 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#129588 - hermit-os:sleep-micros, r=workingj…

    …ubilee
    
    pal/hermit: correctly round up microseconds in `Thread::sleep`
    
    This fixes the Hermit-related part of rust-lang#129212 and thus the whole issue, since ESP-IDF is already fixed, as far as I understand.
    
    Fixes rust-lang#129212
    
    r? `@workingjubilee`
    
    CC: `@stlankes`
    matthiaskrgr authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    d0b3c3a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#129592 - saethlin:core-cfg-test, r=tgross35

    Remove cfg(test) from library/core
    
    The diff here is very small with the ignore whitespace option.
    
    `core` doesn't/can't have unit tests. All of its tests are just modules under `tests/`, so it has no use for `cfg(test)`, because the entire contents of `library/core/src` are only ever compiled with that cfg off, and the entire contents of `library/core/tests` are only ever compiled with that cfg on.
    
    You can tell this is what's happening because we had `#[cfg(test)]` on a module declaration that has no source file.
    
    I also deleted the extra `mod tests {` layer of nesting; there's no need to mention again in the module path that this is a module of tests. This exposes a name collision between the `u128` module of tests and `core::u128`. Fixed that by using `<u128>::MAX` like is done in the `check!` macro, which is what avoids this name ambiguity for the other types.
    matthiaskrgr authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    b9dfb4d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#129597 - bvanjoi:resolve, r=petrochenkov

    mv `build_reduced_graph_for_external_crate_res` into Resolver
    
    `build_reduced_graph_for_external_crate_res` is only related to `Resolver`, so move it there.
    
    r? `@petrochenkov`
    matthiaskrgr authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1d58ac0 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#129600 - traviscross:TC/tie-impl_trait_over…

    …captures-to-rust-2024, r=compiler-errors
    
    Tie `impl_trait_overcaptures` lint to Rust 2024
    
    The `impl_trait_overcaptures` lint is part of the migration to Rust 2024 and the Lifetime Capture Rules 2024.  Now that we've stabilized precise capturing (RFC 3617), let's tie this lint to the `rust_2024_compatibility` lint group.
    
    Tracking:
    
    - rust-lang#117587
    
    r? `@compiler-errors`
    matthiaskrgr authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    114e60f View commit details
    Browse the repository at this point in the history