Skip to content

Rollup of 9 pull requests - #162941

Closed
Zalathar wants to merge 22 commits into
rust-lang:mainfrom
Zalathar:rollup-QBSqjxc
Closed

Zalathar wants to merge 22 commits into
rust-lang:mainfrom
Zalathar:rollup-QBSqjxc

Conversation

@Zalathar

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

Narfinger and others added 22 commits August 26, 2026 10:59
Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This avoids installing the src component from the command line also
triggering a whole lot of other things which are behind the src path.
Furthermore, it makes the name match the component as distributed in
rustup, reducing confusion.
there's no need to wrap the value at runtime to visit it
- fix margins
- ensure the MIR code wraps instead of needing scrollbars
- defocus the trace suffixes
Add Natvis visualiser and debuginfo tests for `f128`

To render f128s in debuggers on MSVC targets, this PR changes the compiler to output `f128`s as `struct f128 { low_bits: u64, high_bits: u64 }`, and includes a Natvis visualiser that displays the float in hexdecimal format (similar to the `LowerHex` impl in rust-lang#160626), as unlike `f16` there's no larger supported float format to convert to and trying to write a float to decimal string converter in Natvis didn't seem practical. gdb, lldb and cdb tests are also included for `f128`, although gdb does not yet correctly identify the float format.

I did consider also displaying a `double` approximation of the `f128` (as the debugger will convert that to a decimal string) but decided against it as `f64` has a significantly smaller exponent range too (meaning very large or small `f128`s couldn't have an approximation anyway) and `cdb` and `WinDbg` both seem to round all floating-point numbers to 6 decimal places, meaning the displayed number is (double) rounded even further than `f64` precision and is useless for tiny values.

Closes rust-lang#121837
Tracking issue: rust-lang#116909
…k-simulacrum,jieyouxu,kobzol

Rename the src install build step to rust-src.

This avoids installing the src component from the command line also triggering installing a whole lot of other things which are behind the src path. Furthermore, it makes the name match the component as distributed in rustup, reducing confusion.
link Enzyme and the offload with in-tree lld if possible

I have multiple LLVM builds on all my computers, and often enough ended up with an older lld version on the path, which often breaks Offload builds.
I've also seen autodiff builds take forever since some of it's files are huge, and builds somehow end up using ld.

This fixes both by just using our up-to-date in-tree lld (if available).
I used an LLM to implement a couple of bootstrap fixes, including this one. I then split this one out and cleaned it up.

r? kobzol

closes: rust-lang#160584
Fix docs of make_ascii_lowercase/make_ascii_upercase

Currently the documentation (but the example) does not specify what happens to ascii characters that are not A-Z. This fixes the documentation to specify that all non A-Z characters are left untouched.
…emathas

Add mentions to sync back `RELEASES.md` to the `main` branch

I think this can be useful, we had several times in the past incident where the releases notes where not in sync with the `main` branch, which delayed the GitHub releases.

One thing to note: triagebot mentions always runs on all the branches, so I had to make the message more generic than it could have been.
… r=clarfonthey

docs(num): add documentation for `NonZero::from_str`

Since `int::from_str` has its own documentation but `NonZero::from_str` does not, I added documentation for `NonZero::from_str` based on the documentation for `int::from_str`.

@rustbot label +A-docs
…ests, r=Urgau

Move more `rustdoc-html` tests in the right location

Follow-up of rust-lang#162372.

r? @Urgau
An assortment of polonius tweaks

As discussed on zulip, r? @jackh726 this contains a couple tweaks:
- fixes the variance recording to be done at the expected two places instead of three (it should be idempotent, but as we saw with unexpected variance, better safe than sorry)
- cleans it up to also match with the deferred liveness work
- starts adding some features from my polonius mir dump prototypes (here, just some simple navigation QoL additions)
- improves the visuals slightly again (details in the commits; but mostly as you can see [in this example](https://gistpreview.github.io/?b8b9218f6565f3b13f91a63859ad776e) and [fixed here](https://gistpreview.github.io/?dadb54091b91f34578f58df067c7a77f), some lines in the MIR dump can be huge and that made the viewport scroll, etc)
…oshtriplett

Use niche length type for strlen to guarantee `isize::MAX` bound

Alternative to rust-lang#162912.

r? hanna-kruppe
cc @Darksonn
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Sep 18, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-meta Area: Issues & PRs about the rust-lang/rust repository itself S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 18, 2026
@rustbot rustbot added the T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. label Sep 18, 2026
@Zalathar

Copy link
Copy Markdown
Member Author

Rollup of everything.

@bors r+ rollup=never p=5

@rust-bors

rust-bors Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 4eeb145 has been approved by Zalathar

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 Sep 18, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 18, 2026
Rollup of 9 pull requests

Successful merges:

 - #161777 (Add Natvis visualiser and debuginfo tests for `f128`)
 - #162423 (Rename the src install build step to rust-src.)
 - #162824 (link Enzyme and the offload with in-tree lld if possible)
 - #161803 (Fix docs of make_ascii_lowercase/make_ascii_upercase)
 - #162256 (Add mentions to sync back `RELEASES.md` to the `main` branch)
 - #162803 (docs(num): add documentation for `NonZero::from_str`)
 - #162906 (Move more `rustdoc-html` tests in the right location)
 - #162922 (An assortment of polonius tweaks)
 - #162930 (Use niche length type for strlen to guarantee `isize::MAX` bound)
@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 Sep 18, 2026
@rust-bors

rust-bors Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 983fb7d failed: CI, CI

@JonathanBrouwer

Copy link
Copy Markdown
Member

Spurious, making a bigger rollup

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

rust-bors Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

@Zalathar
Zalathar deleted the rollup-QBSqjxc branch September 18, 2026 09:45
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. A-meta Area: Issues & PRs about the rust-lang/rust repository itself rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.