Skip to content

Rollup of 20 pull requests - #165426

Closed
JonathanBrouwer wants to merge 51 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-Xc1GCW7
Closed

JonathanBrouwer wants to merge 51 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-Xc1GCW7

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

yilin0518 and others added 30 commits October 13, 2026 12:59
OpenBSD added getexecpath(3) to libc, which returns an
already-canonicalized executable path directly. Replace the
sysctl(KERN_PROC_ARGV)-based implementation.

This was the last user of div_exact in std, so drop the
exact_div feature gate.
…poll impl instead of the desugared creator function.
It is already rejected on such functions, and keeping it only produced a
redundant 'incompatible with #[cold]' error.
instead tracking it through the whole traversal even if the lint is never fired
…being allowed

Upstream no longer rejects the combination, so replace the UI test expecting
that error with a codegen test checking that the body coroutine still inherits
the target features.
We only need to traverse CFG for this lint, so we can iterate over basic blocks directly.
This lint is similar to the existing `let_underscore_lock` lint,
but applies to `DropGuard` instead of `MutexGuard` and similar types.
…cdylib test:

- Add `sys::thread_local::guard::aix` using `__pt_atexit_np` to run main
  thread TLS destructors on process exit on AIX.
- Update `dynamic-loading-cdylib` to use member archive syntax (`RTLD_MEMBER`)
  for `dlopen` on AIX.
- Replace the mode array in `dynamic-loading-cdylib` with a `COMMAND_ARGS`
  constant that selects `load_only` for musl and AIX because `dlclose` does
  not invoke TLS destructors on those platforms.
A comment against PR 151817 mentioned that the test file added in this
PR kept causing "arbitrary" test file changes.

This is because one line of the expanded output sits *just* at 78
columns, which is the pretty-printer's margin. Adding or removing a
symbol shifts every index after it, and when one of those gains or loses
a digit, the wrapping moves.

We cannot use `normalize-stdout` as the layout is decided before
normalization runs.

We fix this by avoiding a strict golden comparison, and instead using a
regex to directly test that the expected syntax contexts exist in the
expanded output.
* Add regression test against rigidity assertion
* Make non-rigid types equal to one another on error reporting
* Bless errors after rigid treatment change
* Remove previously useful crash test!
* Add suggested comments from code review
@rustbot rustbot added A-CI Area: Our Github Actions CI A-raw-pointers Area: raw pointers, MaybeUninit, NonNull A-rc Area: `Rc` and `Arc` A-run-make Area: port run-make Makefiles to rmake.rs A-slice-vec Area: `[T]` and `Vec<T>` A-str Area: `str` and `String` A-testsuite Area: The testsuite used to check the correctness of rustc A-thread Area: `std::thread` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Nov 3, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b1b5542 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 3, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 3, 2026
…uwer

Rollup of 20 pull requests

Successful merges:

 - #149245 (Make inline attributes apply to the generated `poll` in async fn)
 - #163495 (Parallelize AST -> HIR lowering)
 - #164304 ([perf] Reuse CanonicalVarKinds if no new variables were added)
 - #165109 (Avoid building a region map when erasing bound regions)
 - #163393 (std: Use getexecpath() for current_exe() on OpenBSD)
 - #163625 (Add a lint helper attribute namespace )
 - #164414 (Add `let_underscore_drop_guard` lint.)
 - #165342 (Avoid unnecessary MIR traversals in CheckPackedRef lint)
 - #165351 (delegation: insert probing adjustments before args check adjustments)
 - #165358 (Reenable some cg_gcc tests that were disabled)
 - #165377 (Make `no_implicit_prelude` not suppress tool attributes)
 - #165397 (Add codegen test for unused match arms removed after inlining)
 - #165398 (Rework parallel reproducibility tests)
 - #162608 (Avoid oscillating line wrapping due to symbol indices)
 - #164241 (make the safety documentation consistent in Ptr module)
 - #165029 (Use `MalformedLintAttributeInput` in more places)
 - #165203 (AIX: Implement TLS destructor guard in std and update dynamic-loading-cdylib test)
 - #165230 (Fix rigidity assertion ICE)
 - #165293 (unstable-book: update default-visibility.md to link to tracking issue)
 - #165374 (Refactorings in preparation for the move trait)
@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 3, 2026
@rust-bors

rust-bors Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

💔 Test for f3efee6 failed: CI. Failed job:

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 3, 2026
@rust-bors

rust-bors Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

PR #163495, which is a member of this rollup, was unapproved.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-atomic Area: Atomics, barriers, and sync primitives A-attributes Area: Attributes (`#[…]`, `#![…]`) A-box Area: Our favorite opsem complication A-CI Area: Our Github Actions CI A-raw-pointers Area: raw pointers, MaybeUninit, NonNull A-rc Area: `Rc` and `Arc` A-run-make Area: port run-make Makefiles to rmake.rs A-slice-vec Area: `[T]` and `Vec<T>` A-str Area: `str` and `String` A-testsuite Area: The testsuite used to check the correctness of rustc A-thread Area: `std::thread` rollup A PR which is a rollup T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.