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

Merged
merged 13 commits into from
May 12, 2024
Merged

Rollup of 6 pull requests #125028

merged 13 commits into from
May 12, 2024

Commits on Apr 17, 2024

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

Commits on May 6, 2024

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

Commits on May 10, 2024

  1. Relax allocator requirements on some Rc APIs.

    * Remove A: Clone bound from Rc::assume_init, Rc::downcast, and Rc::downcast_unchecked.
    * Make From<Rc<[T; N]>> for Rc<[T]> allocator-aware.
    
    Internal changes:
    
    * Made Arc::internal_into_inner_with_allocator method into Arc::into_inner_with_allocator associated fn.
    * Add private Rc::into_inner_with_allocator (to match Arc), so other fns don't have to juggle ManuallyDrop.
    zachs18 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    d6122f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d8eb50 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Configuration menu
    Copy the full SHA
    8167a35 View commit details
    Browse the repository at this point in the history
  2. Add test for rust-lang#122775

    Dirbaio committed May 11, 2024
    Configuration menu
    Copy the full SHA
    ebf574f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e89a2cc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#124096 - saethlin:rust-dbg-call, r=Nilstrieb

    Clean up users of rust_dbg_call
    
    `rust_dbg_call` is a C test helper that until this PR was declared in C with `void*` arguments and used in Rust _mostly_ with `libc::uintptr_t` arguments. Nearly every user just wants to pass integers around, so I've changed all users to `uint64_t` or `u64`.
    
    The single test that actually used the pointer-ness of the argument is a test for ensuring that Rust can make extern calls outside of tasks. Rust hasn't had tasks for quite a few years now, so I'm deleting that test under the same logic as the test deleted in rust-lang#124073
    matthiaskrgr authored May 11, 2024
    Configuration menu
    Copy the full SHA
    6e172c5 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#124829 - briansmith:b/armv7-profiler, r=Mar…

    …k-Simulacrum
    
    Enable profiler for armv7-unknown-linux-gnueabihf.
    
    Allow code coverage measurement for armv7-unknown-linux-gnueabihf targets. Fixes rust-lang#79640.
    matthiaskrgr authored May 11, 2024
    Configuration menu
    Copy the full SHA
    0d4ae96 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#124939 - Urgau:hide-private-fields-aliased-…

    …type, r=GuillaumeGomez
    
    Always hide private fields in aliased type
    
    This PR adds a new rustdoc pass that unconditionally always strips all private fields in aliased type, since showing them, even with `--document-private-items`, is confusing, unhelpful, and run backwards to the "Aliased type" feature, which is to show the type as it would be seen by the user.
    
    r? ```@GuillaumeGomez```
    Fixes rust-lang#124938
    Fixes rust-lang#123860
    matthiaskrgr authored May 11, 2024
    Configuration menu
    Copy the full SHA
    beef360 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#124963 - GuillaumeGomez:migrate-rustdoc-sha…

    …red-flags, r=jieyouxu
    
    Migrate `run-make/rustdoc-shared-flags` to rmake
    
    Part of rust-lang#121876.
    
    r? ```@jieyouxu```
    matthiaskrgr authored May 11, 2024
    Configuration menu
    Copy the full SHA
    864fce5 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#124981 - zachs18:rc-allocator-generalize-1,…

    … r=Mark-Simulacrum
    
    Relax allocator requirements on some Rc/Arc APIs.
    
    Split out from rust-lang#119761
    
    * Remove `A: Clone` bound from `Rc::assume_init`(s), `Rc::downcast`, and `Rc::downcast_unchecked` (`Arc` methods were already relaxed by rust-lang#120445)
    * Make `From<Rc<[T; N]>> for Rc<[T]>` allocator-aware (`Arc`'s already is).
    * Remove `A: Clone` from `Rc/Arc::unwrap_or_clone`
    
    Internal changes:
    
    * Made `Arc::internal_into_inner_with_allocator` method into `Arc::into_inner_with_allocator` associated fn.
    * Add private `Rc::into_inner_with_allocator` (to match Arc), so other fns don't have to juggle `ManuallyDrop`.
    matthiaskrgr authored May 11, 2024
    Configuration menu
    Copy the full SHA
    e3fca20 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d2b0555 View commit details
    Browse the repository at this point in the history