Skip to content

Rollup of 13 pull requests#156681

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-wC7f2r6
May 18, 2026
Merged

Rollup of 13 pull requests#156681
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-wC7f2r6

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

numero-744 and others added 28 commits April 20, 2026 18:04
The definition did not match the one from PartialEq
and was merged with the definition of symmetry.
`cc()` gets target flags, which won't match with the host triple used
by `bare_rustc()`.
In the future this can be used by build-std, but until then it is still
useful for allowing rust-analyzer to work offline.

This increases the unpacked size by 24MB (from 116MB to 140MB) and the
compressed size by only 2MB (from 18MB to 20MB)
There is no reference to `char` in c_short.md
The documentation for the `format_into` methods on unsigned integers
still said "in signed decimal format". Change them to say "unsigned".
…acrum

Include vendored sources in the rust-src component

In the future this can be used by build-std, but until then it is still useful for allowing rust-analyzer to work offline.

This increases the unpacked size by 24MB (from 116MB to 140MB) and the compressed size by only 2MB (from 18MB to 20MB)
Fix cross-compiling `macos-deployment-target-warning` test

`cc()` gets target flags, which won't match with the host triple used by `bare_rustc()`.

Follow-up to rust-lang#155716, with both of these, `./x test --target arm64e-apple-darwin tests` now succeeds.

r? compiler
remove/update various cfg(miri)

I went over all `cfg(miri)` in `library/`. Most of the things I noticed have become separate PRs; these here are the few remaining scattered little fixes in various places.
…end-span, r=chenyukang

Preserve spans when hiding do_not_recommend impls

Fixes rust-lang#156475 by restoring the root span only when the current refined span has wandered outside the parent obligation.
doc(core::cmp::Eq): fix definition of symmetry

The definition did not match the one from PartialEq
…xed_array, r=SimonSapin

implement `into_array` for `Vec<T>`

for more into_array coverage and to avoid harmful obtuse opaque try_into calls
Fix missing period in Iterator product doc comment

It looks like the other doc comments all end with a period.
std: replace "safe" with "sound" in safety documentation

- `env::set_var`
- `env::remove_var`

Context: rust-lang#124636
…Sapin

c ffi document fixes for c_short.md

There is no reference to `char` in c_short.md
…imonSapin

library: Fix std compilation for espidf target in unix::process

Fixes a regression on the riscv32imac-esp-espidf target caused by commit 7bf5fe7 (linked issue rust-lang#156537) . The unix_kill_process_group feature attempts to use libc::SIGKILL, which is not supported on the espidf target.

Discussed in `esp-idf-sys` issue: esp-rs/esp-idf-sys#419
…monSapin

Change division to multiplication in floating-point midpoint

Multiplication is faster than division on most (all?) platforms. While the optimizer will handle this, there is really no point in relying on that. Using multiplication directly will not have any drawbacks and are numerically identical (in this case since 1.0 / 2.0 == 0.5)

Consider the examples at https://godbolt.org/z/oMvb9vobG where it is clear that the non-optimized version uses division, while the optimized version uses multiplication.
…imonSapin

Fix typo in `format_into` docs: signed -> unsigned

The documentation for the `format_into` methods on unsigned integers
still said "in signed decimal format". Change them to say "unsigned".
change `other uses of const` to `raw pointers` in const keyword docs

this section only talks about how `const` is used in raw pointers and doesn't give any other uses, so in my opinion it would be a bit clearer if the section was named `raw pointers` or something similar.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label May 18, 2026
@rustbot rustbot added the A-run-make Area: port run-make Makefiles to rmake.rs label May 18, 2026
@rustbot rustbot added O-unix Operating system: Unix-like 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. labels May 18, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

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

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 18, 2026

📌 Commit 3810819 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 May 18, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request May 18, 2026
Rollup of 13 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-2
@rust-bors

This comment has been minimized.

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 18, 2026

☀️ Try build successful (CI)
Build commit: bac55fe (bac55fe8a2a277503ba2628ca4f4f80e4979d559, parent: 507271bc119683008ec719ecee48814e8ac86c65)

@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 May 18, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 18, 2026

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 13m 45s
Pushing a31c27a to main...

@rust-bors rust-bors Bot merged commit a31c27a into rust-lang:main May 18, 2026
13 checks passed
@rustbot rustbot added this to the 1.97.0 milestone May 18, 2026
@github-actions
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 b40ce8b (parent) -> a31c27a (this PR)

Test differences

Show 476 test diffs

Stage 1

  • [run-make] tests/run-make/macos-deployment-target-warning: ignore (only executed when the target vendor is Apple) -> ignore (only executed when the operating system is macos) (J1)

Stage 2

  • [run-make] tests/run-make/macos-deployment-target-warning: ignore (only executed when the target vendor is Apple) -> ignore (only executed when the operating system is macos) (J0)

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

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard a31c27a887b40df16ab9dfb8c9f7924636092509 --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. i686-gnu-1: 1h 40m -> 2h 26m (+46.0%)
  2. i686-msvc-2: 2h 17m -> 1h 41m (-25.9%)
  3. x86_64-msvc-ext3: 1h 25m -> 1h 45m (+23.8%)
  4. x86_64-gnu-llvm-21-2: 1h 25m -> 1h 44m (+23.1%)
  5. x86_64-rust-for-linux: 45m 41s -> 55m 47s (+22.1%)
  6. dist-x86_64-apple: 1h 46m -> 2h 9m (+21.1%)
  7. dist-arm-linux-gnueabi: 1h 28m -> 1h 12m (-18.6%)
  8. pr-check-1: 29m -> 33m 45s (+16.4%)
  9. optional-x86_64-gnu-parallel-frontend: 2h 26m -> 2h 48m (+15.3%)
  10. i686-gnu-2: 1h 32m -> 1h 46m (+15.0%)
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

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#155313 doc(core::cmp::Eq): fix definition of symmetry fd8ec82442249a73c01bacd98fcb43b72bc6eeb6 (link)
#155870 Fix cross-compiling macos-deployment-target-warning test ff15ce5d872dc7fcaa24a1e7a9fad2ff33e76848 (link)
#156196 Include vendored sources in the rust-src component 0fe87994affea7a7a35935fc571cff734b3ac04c (link)
#156234 implement into_array for Vec<T> 90dbf82afb3ce57c21120986c6bef5b3d4c08060 (link)
#156488 Fix missing period in Iterator product doc comment 36e082db73624a33099db412878ef9287ff58065 (link)
#156492 remove/update various cfg(miri) 37d5f5e7ce988f96d94a01fbee50ae1b27dd4005 (link)
#156572 std: replace "safe" with "sound" in safety documentation f4d76c0d11891bf09b11819c35b8c89e988057e6 (link)
#156624 c ffi document fixes for c_short.md 66e55888b73a548381f76ea84b4fa06e8cff98e1 (link)
#156638 library: Fix std compilation for espidf target in unix::pro… a16d5b47e1938ac6362ab121905f83dac9a1cd85 (link)
#156647 Change division to multiplication in floating-point midpoint ff550c13554906f4696935e3201c6868442edc5c (link)
#156668 Fix typo in format_into docs: signed -> unsigned 04b94ed2d29b043f454d9ddbe986083e5d8437c7 (link)
#156676 Preserve spans when hiding do_not_recommend impls f2b3cafbd055ca91f34ea0c20517d94fa57c3a1a (link)
#156677 change other uses of const to raw pointers in const key… 7d390fda9f1e9a76a6e2bb7c9c236bbd5dc4858e (link)

previous master: b40ce8b786

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer
Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (a31c27a): 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)
-1.5% [-1.5%, -1.5%] 1
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary -1.8%)

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

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

Cycles

Results (primary 2.6%)

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

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

Binary size

Results (secondary 0.1%)

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

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

Bootstrap: 511.409s -> 510.693s (-0.14%)
Artifact size: 400.53 MiB -> 400.56 MiB (0.01%)

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

Labels

A-run-make Area: port run-make Makefiles to rmake.rs merged-by-bors This PR was explicitly merged by bors. O-unix Operating system: Unix-like rollup A PR which is a rollup 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.