Rollup of 5 pull requests - #160381
Closed
JonathanBrouwer wants to merge 57 commits into
Closed
Conversation
Add UI coverage for source-shaped local values before changing the renderer. The new cases exercise structs, enum variants, tuples, arrays, slices, and fallback leaf values so later commits can bless one behavior change at a time.
This updates the rust-version file to dfbea5b.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@dfbea5b Filtered ref: rust-lang/miri@770df83 Upstream diff: rust-lang/rust@390279b...dfbea5b This merge was created using https://github.com/rust-lang/josh-sync.
…e-buffer skip weak memory buffer handling when there is only one thread
Automatic Rustup
Route local value rendering through a source-shaped renderer helper. At this step the helper still delegates leaves and unsupported shapes back to the existing raw byte renderer, so the behavioral changes can land in focused follow-up commits.
Render struct and struct-like ADT operands using their source field names.
Fields are projected from the operand and each leaf still uses the existing raw
renderer, producing output such as `Point { x: [..], y: [..] }` without relying
on user Debug or Display implementations.
Extend source-shaped ADT rendering to enum operands. The renderer reads the runtime discriminant, downcasts to the active variant, and then renders the payload fields with the same raw-leaf fallback used for struct fields. Unit, tuple, and struct variants keep their Rust-like spelling.
Render tuple operands as positional source-shaped values. Tuple elements are projected in source order and rendered through the existing leaf renderer, including the trailing comma for one-element tuples.
Render array and slice operands as ordered source-shaped elements. Fixed arrays use their layout count while slices use the runtime metadata length, then `project_array_fields` supplies the element operands for raw-leaf rendering.
This updates the rust-version file to d3ea035.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@d3ea035 Filtered ref: rust-lang/miri@7c697be Upstream diff: rust-lang/rust@dfbea5b...d3ea035 This merge was created using https://github.com/rust-lang/josh-sync.
…t-comment fix `ptr_from_addr_cast` comment
Automatic Rustup
…s-and-types-handling [Priroda] Render projected locals with source-shaped values
Implement shims for vsha256hq_u32, vsha256h2q_u32, vsha256su0q_u32 and vsha256su1q_u32
Matches the naming already used in the aarch64 SHA256 shims.
…ntrinsics aarch64: implement SHA256 intrinsic shims
This updates the rust-version file to 701a651.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@701a651 Filtered ref: rust-lang/miri@3c491cf Upstream diff: rust-lang/rust@d3ea035...701a651 This merge was created using https://github.com/rust-lang/josh-sync.
Automatic Rustup
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@73dc916 Filtered ref: rust-lang/miri@fe2cab2 Upstream diff: rust-lang/rust@cb9d1b0...73dc916 This merge was created using https://github.com/rust-lang/josh-sync.
Automatic Rustup
…ck, r=jhpratt,Urgau Semantic check of `mut` restrictions This PR implements semantic checks for `mut` restrictions proposed in [RFC 3323](https://rust-lang.github.io/rfcs/3323-restrictions.html), as part of the related [GSoC project](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Implementing.20impl.20and.20mut.20restrictions/with/592352432). It lowers field restriction information from HIR into `rustc_middle::ty::FieldDef` and adds a MIR-level lint that rejects restricted field mutations and struct expressions. As parsing (rust-lang#156824) and path resolution (rust-lang#159125) have already been implemented, this PR provides a working implementation of `mut` restrictions. Tracking issue: rust-lang#105077 r? @Urgau cc @jhpratt
…s, r=mejrs borrowck: Simplify deps to build compiler 30s faster `rustc_borrowck` uses two helpers from `rustc_traits`. One of them is re-exported from `rustc_trait_selection`, and the other can easily move to `rustc_trait_selection`. Making `rustc_borrowck` use these helpers from `rustc_trait_selection` directly, and eliminating the `rustc_traits` dependency, allows starting to build `rustc_borrowck` earlier, which substantially speeds up building the compiler because `rustc_borrowck` is one of the last things to build. On my system, this speeds up the rustc build by a little over 30s.
miri subtree update Subtree update of `miri` to rust-lang/miri@29e6073. Created using https://github.com/rust-lang/josh-sync. r? @ghost
tests: prefer max-llvm-major-version over open LLVM ranges Per review, take option 3: replace open `ignore-llvm-version` ranges with `max-llvm-major-version`. Left gdb `X - 99.0` ranges alone so CI's older gdb still runs those tests. Fixes rust-lang#159338.
bootstrap: Don't pass `Kind` to some places that don't need it The current CLI step's `Kind` was being passed deep into some selector-matching code that doesn't seem to actually need it. It seems that the kind associated with a step's `ShouldRun` paths/aliases always comes from that step, so proceeding to compare it against the step's kind later can never fail and doesn't achieve anything. As far as I can tell, this is a relic of rust-lang#91965 that (due to subsequent changes) doesn't do anything useful and also doesn't make a lot of conceptual sense. This PR therefore removes the `Kind` parameter from `PathSet::check`, and removes the `Kind` field from `TaskPath`. Touching `TaskPath` causes a lot of churn in snapshot tests, but there don't seem to be any changes in actual behaviour.
Contributor
Author
Contributor
Contributor
|
⌛ Trying commit ed92378 with merge a71e045… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/30744687653 |
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 2, 2026
Rollup of 5 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 try-job: i686-msvc-*
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
Author
|
@bors try cancel |
Contributor
|
This pull request was unapproved due to being closed. |
Contributor
|
Try build cancelled. Cancelled workflows: |
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:
mutrestrictions #159906 (Semantic check ofmutrestrictions)Kindto some places that don't need it #160191 (bootstrap: Don't passKindto some places that don't need it)r? @ghost
Create a similar rollup