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

Merged
merged 15 commits into from
Mar 27, 2024
Merged

Rollup of 7 pull requests #123121

merged 15 commits into from
Mar 27, 2024

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    1ad3954 View commit details
    Browse the repository at this point in the history
  2. UnixStream: override read_buf

    a1phyr committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    bff13e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff6d9f7 View commit details
    Browse the repository at this point in the history
  4. RustWrapper: update call for llvm/llvm-project@44d037c

    Easy change.
    
    @rustbot label: +llvm-main
    durin42 committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    2a01074 View commit details
    Browse the repository at this point in the history
  5. Rename

    Nadrieril committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    3878b37 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    14f186c View commit details
    Browse the repository at this point in the history
  7. Implement Vec::pop_if

    avandesa committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    07d3806 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Update RwLock deadlock example to not use shadowing

    Tweak variable names in the deadlock example to remove any potential
    confusion that the behavior is somehow shadowing-related.
    tgross35 committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    0cd5772 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#122439 - Nadrieril:store-built-place, r=com…

    …piler-errors
    
    match lowering: build the `Place` instead of keeping a `PlaceBuilder` around
    
    Outside of `MatchPair::new` we don't construct new places, so we don't need to keep a `PlaceBuilder` around.
    
    A bit annoyingly we have to store an `Option<Place>` even though it's never `None` after simplification, but the alternative would be to re-entangle `MatchPair` construction and simplification and I'd rather not do that.
    matthiaskrgr committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    a2122dc View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#122880 - a1phyr:preadv_more_platform, r=wor…

    …kingjubilee
    
    Unix: Support more platforms with `preadv` and `pwritev`
    
    - `aix`, `dragonfly` and `openbsd` with direct call
    - `watchos` with weak linkage
    
    cc rust-lang#89517
    matthiaskrgr committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    4bdf171 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#123038 - he32:netbsd-ilp32-fix, r=workingju…

    …bilee
    
    std library thread.rs: fix NetBSD code for ILP32 CPUs.
    matthiaskrgr committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    d589021 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#123084 - a1phyr:unixstream_read_buf, r=work…

    …ingjubilee
    
    `UnixStream`: override `read_buf`
    
    Split from rust-lang#122441
    
    r? ``@workingjubilee``
    matthiaskrgr committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    910e23b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#123102 - durin42:llvm-19-pass-ptr, r=workin…

    …gjubilee
    
    RustWrapper: update call for llvm/llvm-project@44d037cc258dcf179d2c48…
    
    …c93996bb406ecd0fae
    
    Easy change.
    
    `@rustbot` label: +llvm-main
    matthiaskrgr committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    fc51dbd View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#123107 - avandesa:vec_pop_if, r=joboet

    Implement `Vec::pop_if`
    
    This PR adds `Vec::pop_if` to the public API, behind the `vec_pop_if` feature.
    
    ```rust
    impl<T> Vec<T> {
        pub fn pop_if<F>(&mut self, f: F) -> Option<T>
            where F: FnOnce(&mut T) -> bool;
    }
    ```
    
    Tracking issue: rust-lang#122741
    
    ## Open questions
    
    - [ ] Should the first unit test be split up?
    - [ ] I don't see any guidance on ordering of methods in impl blocks, should I move the method elsewhere?
    matthiaskrgr committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    19a40ec View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#123118 - tgross35:rwlock-docs, r=workingjub…

    …ilee
    
    Update `RwLock` deadlock example to not use shadowing
    
    Tweak variable names in the deadlock example to remove any potential confusion that the behavior is somehow shadowing-related.
    matthiaskrgr committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    bce5253 View commit details
    Browse the repository at this point in the history