Skip to content

Rollup of 4 pull requests - #163793

Merged
rust-bors[bot] merged 49 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-9UtJohs
Oct 5, 2026
Merged

rust-bors[bot] merged 49 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-9UtJohs

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

RalfJung and others added 30 commits September 30, 2026 23:44
dynamically test for symlink permission
As the comments explain, `Span` does not implement `Send` and so Miri
had to store `SpanData` (which does implement `Send`) instead, so
certain other types are `Send`.

At least, that used to be true. When the serial rustc front-end was
removed `Span` became `Send`. So now Miri can store `Span`, which is
much more standard than storing `SpanData`.
This updates the rust-version file to 837b18a.
This reverts commit ab956667801480a745969fedced5dd5c92372a49.
remove some unnecessary @only-on-host
make Linux current_exe work on non-Linux hosts
getaddrinfo test: ensure we see both IPv4 and IPv6
pick more sensible path for current_exe
This updates the rust-version file to e0452e2.
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Previous upstream ref: rust-lang/rust@837b18a
New upstream ref: rust-lang/rust@e0452e2
Filtered ref: rust-lang/miri@b586a31
Upstream diff: rust-lang/rust@837b18a...e0452e2

This merge was created using https://github.com/rust-lang/josh-sync.
RalfJung and others added 10 commits October 4, 2026 11:26
this helps with File debug-printing on Linux (but not on other Unixes)
unix open: support opening directories
solarish: support current_exe via /proc/self/path/a.out in readlink.
This function was added in LLVM 22.
optimize empty `NestedGoals::extend_from_child`

we sometimes get incredibly big `nested_goals` from large and involved cycles. When propagating them outwards, we currently manually build a `HashMap` by accessing an entry for every nested goal of the child. This is unnecessary.

This does not help with the max-rss regression in rust-lang#161660, but should help with perf in such cases.

r? types
cg_llvm: Use `LLVMGlobalAddMetadata` from LLVM-C

- Follow-up to rust-lang#163572
---

`LLVMGlobalAddMetadata` was introduced in LLVM 22, so now that that's our baseline, we can bind to it directly and remove our own C++ wrapper.
… r=oli-obk

lower spans of error const args and test binder bounds

fixes rust-lang#163592

lower spans when constructing hir nodes for error const args and test binder bound type constraints, these paths were using raw ast spans instead of routing them through `lower_span`
(reproduce with `rust.debug-assertions = true` and `-Cincremental`; the tests listed in the issue now pass.)

r? @bjorn3
cc @matthiaskrgr
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Oct 5, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 5, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,test-x86_64-gnu-aux,test-x86_64-msvc-1,test-aarch64-apple-1,test-aarch64-apple-2,test-x86_64-mingw-1,test-i686-msvc,test-armhf-gnu

@rust-bors

rust-bors Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b9eb49a 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 Oct 5, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 5, 2026
Rollup of 4 pull requests


try-job: dist-various-1
try-job: test-various
try-job: test-x86_64-gnu-aux
try-job: test-x86_64-msvc-1
try-job: test-aarch64-apple-1
try-job: test-aarch64-apple-2
try-job: test-x86_64-mingw-1
try-job: test-i686-msvc
try-job: test-armhf-gnu
@rust-bors

This comment has been minimized.

@rust-bors

rust-bors Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 281bcf4 (281bcf4e4fde84e9b122b02443ee904cca53036f)
Base parent: 4d13b68 (4d13b68badbf76e5c7831291e8fb324eabae2626)

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 5, 2026
@rust-bors

rust-bors Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 11m 43s
Pushing 602727f to main...

@rust-bors
rust-bors Bot merged commit 602727f into rust-lang:main Oct 5, 2026
16 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 4d13b68 (parent) -> 602727f (this PR)

Test differences

Show 4 test diffs

4 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 602727f26878dcf9eb2999e2f58e5df1269ff47e --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. test-x86_64-gnu-debug: 1h 15m -> 2h 9m (+72.1%)
  2. dist-loongarch64-musl: 1h 16m -> 2h 6m (+66.3%)
  3. dist-x86_64-mingw: 1h 45m -> 2h 51m (+62.4%)
  4. test-x86_64-gnu-aux: 1h 35m -> 2h 34m (+61.7%)
  5. dist-various-1: 34m 23s -> 52m 4s (+51.4%)
  6. dist-powerpc64-linux-gnu: 1h 5m -> 1h 31m (+40.4%)
  7. dist-x86_64-msvc-alt: 2h 8m -> 2h 53m (+35.8%)
  8. test-i686-gnu-nopt-2: 2h 14m -> 1h 28m (-34.3%)
  9. dist-arm-linux-gnueabi: 1h 10m -> 1h 34m (+34.0%)
  10. dist-ohos-aarch64: 1h 21m -> 54m 7s (-33.7%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (602727f): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.4% [-0.4%, -0.4%] 3
All ❌✅ (primary) - - 0

Max RSS (memory usage)

This perf run didn't have relevant results for this metric.

Cycles

Results (primary 0.3%, secondary -3.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.7% [2.7%, 2.7%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-2.1% [-2.1%, -2.1%] 1
Improvements ✅
(secondary)
-3.0% [-3.8%, -2.2%] 3
All ❌✅ (primary) 0.3% [-2.1%, 2.7%] 2

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 488.486s -> 490.152s (0.34%)
Artifact size: 408.62 MiB -> 408.63 MiB (0.00%)

@rust-bors

rust-bors Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#163790 miri subtree update aced59b3d96d83935e6ddd131716f22bf0be55eb
(link)
#163610 optimize empty NestedGoals::extend_from_child b37d5b8b69a7c3188f57ac7aa65593e3193862ee
(link)
#163697 cg_llvm: Use LLVMGlobalAddMetadata from LLVM-C 230efc4173925bd37e8008e935f114874a8b3f8f
(link)
#163750 lower spans of error const args and test binder bounds fdb64247f984698506a6afd26c15dfffdaadef94
(link)

parent commit: 4d13b68bad

In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: @rust-timer triage $SHA $SHA $SHA..., or run @rust-timer triage all to benchmark all rollup members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants