Rollup of 6 pull requests#155166
Open
JonathanBrouwer wants to merge 13 commits intorust-lang:mainfrom
Open
Conversation
The recently-added test currently systematically deadlocks when running it under i686 Windows 7, but not x86_64 that passes it fine. This therefore fixes the test for the target. Empirically, the correct value for `MAX_READERS` seems to be `2^28 - 1`: removing the `- 1` re-introduces the deadlock, at least under our testing environment. This fix thus uses this value. However, I have no real justification to support that, because I find myself a bit at a loss when comparing the implementation details, the comment added above the test and what the current value is; some help would therefore be nice in this aspect. Also, the value change is restricted to 32-bit Win7 as there is no evidence to support it should be done for other targets. Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
… r=Mark-Simulacrum Update libc to v0.2.184 This includes the WASI _SC_* sysconf constants needed for `thread::available_parallelism` on WASI targets (rust-lang#153604).
…ock-max-test, r=Mark-Simulacrum Test(lib/sync): Fix `test_rwlock_max_readers` for x86 Win7 The test recently added in rust-lang#153555 currently systematically deadlocks when running it under i686 Windows 7, but not x86_64 that passes it fine. This therefore fixes the test for the target. Empirically, the correct value for `MAX_READERS` seems to be `2^28 - 1`: removing the `- 1` re-introduces the deadlock, at least under our testing environment. This fix thus uses this value. However, I have no real justification to support that, because I find myself a bit at a loss when comparing the implementation details, the comment added above the test and what the current value is; some help would therefore be nice in this aspect. Also, the value change is restricted to 32-bit Win7 as there is no evidence to support it should be done for other targets. cc @roblabla @rustbot label O-windows-msvc O-windows-7 O-x86_32 A-atomic T-libs
don't leak internal temporaries from `dbg!` Fixes rust-lang#154988 r? @Mark-Simulacrum as the reviewer of rust-lang#154074
…Mark-Simulacrum Stabilize feature `isolate_most_least_significant_one` FCP completed rust-lang#136909 (comment) Closes rust-lang#136909
…, r=Mark-Simulacrum Make Box/Rc/Arc::into_array allocator-aware (and add doctest) Tracking issue for `alloc_slice_into_array`: rust-lang#148082 Tracking issue for `allocator_api`: rust-lang#32838 Make the `into_array` methods on `Box`, `Rc`, and `Arc` allocator-aware. I think the allocator-aware-ness should not be observable on stable, so these should not be additionally (comment-)gated behind `feature(allocator_api)`, just like e.g. `Box::leak` and `Vec::into_boxed_slice`. The added doctests do not use `feature(allocator_api)`. @rustbot label T-libs-api
…affleLapkin `ty::Alias`: replace `def_id: did` with `def_id` related issue: rust-lang#154941 tackling this task: - [x] replace def_id: did with def_id where possible r? @WaffleLapkin
Contributor
Author
Contributor
Contributor
|
⌛ Trying commit 58ca4df with merge 592c36f… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/24289338328 |
rust-bors bot
pushed a commit
that referenced
this pull request
Apr 11, 2026
Rollup of 6 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1
Contributor
|
⌛ Testing commit 58ca4df with merge 10d7e55... Workflow: https://github.com/rust-lang/rust/actions/runs/24289495927 |
rust-bors bot
pushed a commit
that referenced
this pull request
Apr 11, 2026
…uwer Rollup of 6 pull requests Successful merges: - #155057 (Update libc to v0.2.184) - #154967 (Test(lib/sync): Fix `test_rwlock_max_readers` for x86 Win7) - #154994 (don't leak internal temporaries from `dbg!`) - #155130 (Stabilize feature `isolate_most_least_significant_one`) - #154925 (Make Box/Rc/Arc::into_array allocator-aware (and add doctest)) - #155063 (`ty::Alias`: replace `def_id: did` with `def_id`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
test_rwlock_max_readersfor x86 Win7 #154967 (Test(lib/sync): Fixtest_rwlock_max_readersfor x86 Win7)dbg!#154994 (don't leak internal temporaries fromdbg!)isolate_most_least_significant_one#155130 (Stabilize featureisolate_most_least_significant_one)ty::Alias: replacedef_id: didwithdef_id#155063 (ty::Alias: replacedef_id: didwithdef_id)r? @ghost
Create a similar rollup