Rollup of 11 pull requests#157113
Closed
JonathanBrouwer wants to merge 37 commits into
Closed
Conversation
…d named lifetimes
… so just encode the fields we need
…c-macros, skipping fields based on whether or not they are used in error messages
This makes the proc-macro RPC protocol platform independent as necessary for running proc macros and rustc on different architectures.
This shrinks the proc-macro ABI a bit. Nothing on the client side needs to allocate handles. This will share the counters between proc-macros, which may cause us to run out of handles earlier, but 4 bilion handles per process is still a lot. Rust-analyzer might run out at some point, but it can recover by restarting the proc-macro-server, and it could already run out before this change anyway,
Some cleanups around passing extra lifetime params from the resolver to ast lowering No functional changes, mostly removing information that was never used at any step. Possibly interesting to @petrochenkov and @cjgillot I originally thought this was a necessary cleanup to be able to refactor our `extra_lifetime_params_map` handling, but it turns out that I can also just do rust-lang#156508 which removes all the ugly usage of that side table and makes it possible for that side table to be put into `PerOwnerResolverData`. The changes here still were an improvement on its own, thus this PR.
…ochenkov definitions: remove `DefPathTable`, use `LocalDefId` instead of `DefIndex` This PR removes `DefPathTable` and uses `LocalDefId` instead of `DefIndex` where possible. r? @petrochenkov
…, r=petrochenkov Eagerly resolve delegations in late resolution This is necessary for allowing the `partial_res_map` to be split by owners. The current logic follows `NodeId` -> `DefId` -> `NodeId` mappings, but the resulting `NodeId` is then not under the same owner, so we can't look it up in the current owner table. After this PR everything is just a `DefId` -> `DefId` mapping, which always works fine. cc @aerooneqq r? @petrochenkov
…or, r=petrochenkov NVPTX: Remove the unstable ptx linker flavor Remove the ptx linker flavor as specified in [this accepted MCP](rust-lang/compiler-team#990) Fixes rust-lang#156954 @rustbot label +O-NVPTX
Contributor
Author
Contributor
Contributor
|
Tree closed for PRs with priority less than 1. |
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
May 29, 2026
…uwer Rollup of 11 pull requests Successful merges: - #156960 (Some cleanups around passing extra lifetime params from the resolver to ast lowering) - #156963 (definitions: remove `DefPathTable`, use `LocalDefId` instead of `DefIndex`) - #157053 (Eagerly resolve delegations in late resolution) - #157068 (NVPTX: Remove the unstable ptx linker flavor) - #157076 (Various proc-macro related code cleanups) - #157106 (add ABI check logic for wasm) - #154835 (std::offload sharedmem) - #157065 (Stabilize `Path::is_empty`) - #157070 (Remove `skip_arg` attribute from `Diagnostic` and `Subdiagnostic` proc-macros) - #157088 (Improve suggestions for malformed deprecated attribute) - #157103 (Add reproducibly failing tests for parallel frontend) Failed merges: - #157100 (Some more per owner things)
Contributor
|
💔 Test for 1aa8c32 failed: CI. Failed job:
|
Contributor
|
PR #157070, which is a member of this rollup, was unapproved. |
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
This was referenced May 29, 2026
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:
DefPathTable, useLocalDefIdinstead ofDefIndex#156963 (definitions: removeDefPathTable, useLocalDefIdinstead ofDefIndex)Path::is_empty#157065 (StabilizePath::is_empty)skip_argattribute fromDiagnosticandSubdiagnosticproc-macros #157070 (Removeskip_argattribute fromDiagnosticandSubdiagnosticproc-macros)Failed merges:
r? @ghost
Create a similar rollup