Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Rollup of 5 pull requests - #150463

Merged
bors merged 13 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-ietend4
Dec 28, 2025
Merged

bors merged 13 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-ietend4

Conversation

@JonathanBrouwer

@JonathanBrouwer JonathanBrouwer commented Dec 28, 2025 •

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

tisonkun and others added 13 commits November 30, 2025 10:42
Signed-off-by: tison <wander4096@gmail.com>
This simplifies the code, provides better panic messages,
and avoids an integer overflow.
Implement round-ties-to-even for Duration Debug for consistency with f64

## Summary

This PR proposes a fix for rust-lang#103747 implementing IEEE-754 S4.3 roundTiesToEven for Duration Debug implementation.

## Testing

Added new test in `time.rs` for  validating roundTiesToEven behavior in Duration formatting. Reran all debug formatting tests in `time.rs` with `./x test library/coretests --test-args time::debug_formatting`.
…=Mark-Simulacrum

Rewrite `String::replace_range`

This simplifies the code, provides better panic messages, and avoids an integer overflow.
Leverage &mut in OnceLock when possible

See comments inline.
Add new source component that includes GPL-licensed source

To unblock rustup distribution of `cg_gcc` (https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Safe.20rustup.20distribution.20of.20rustc_codegen_gcc/with/560644441).

CC ``@joshtriplett``

r? ``@Mark-Simulacrum``
…lnay

fix ManuallyDrop::into_inner aliasing (Miri) issues

Fixes rust-lang/miri#4793

r? `@WaffleLapkin`
@rustbot rustbot added 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-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Dec 28, 2025
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ rollup=never p=5

@bors

bors commented Dec 28, 2025

Copy link
Copy Markdown
Contributor

📌 Commit 2ecaa1d has been approved by JonathanBrouwer

It is now in the queue for this repository.

@bors bors 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 Dec 28, 2025
@bors

bors commented Dec 28, 2025

Copy link
Copy Markdown
Contributor

⌛ Testing commit 2ecaa1d with merge 21cf7fb...

@bors

bors commented Dec 28, 2025

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: JonathanBrouwer
Pushing 21cf7fb to main...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 28, 2025
@bors
bors merged commit 21cf7fb into rust-lang:main Dec 28, 2025
@rustbot rustbot added this to the 1.94.0 milestone Dec 28, 2025
@rust-timer

Copy link
Copy Markdown

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#147499 Implement round-ties-to-even for Duration Debug for consist… c24d053cfa69f3bc668201f16eecc0fea4d332d5 (link)
#149447 Rewrite String::replace_range 2b5aae9f4066d0c16bfc9ce09b569e8d9b67ecdb (link)
#149469 Leverage &mut in OnceLock when possible bfb4d8f58a53f22438d87a55793cd72259e260f8 (link)
#149921 Add new source component that includes GPL-licensed source 98e5f860603927e0097621442d0f71b9856a204a (link)
#150460 fix ManuallyDrop::into_inner aliasing (Miri) issues 28ab1d183223763d0c7774ef474de10ddd9bac55 (link)

previous master: 9f54abeeba

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

@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 9f54abe (parent) -> 21cf7fb (this PR)

Test differences

Show 442 test diffs

Stage 1

  • string::test_replace_range_char_boundary: pass -> [missing] (J0)
  • string::test_replace_range_end_char_boundary: [missing] -> pass (J0)
  • string::test_replace_range_start_char_boundary: [missing] -> pass (J0)
  • time::debug_formatting_round_to_even: [missing] -> pass (J0)

Stage 2

  • string::test_replace_range_char_boundary: pass -> [missing] (J1)
  • string::test_replace_range_end_char_boundary: [missing] -> pass (J1)
  • string::test_replace_range_start_char_boundary: [missing] -> pass (J1)
  • time::debug_formatting_round_to_even: [missing] -> pass (J1)

Additionally, 434 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 21cf7fb3ff9159b0b562431312969dd548ae8782 --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. dist-s390x-linux: 5018.4s -> 6071.8s (+21.0%)
  2. aarch64-apple: 8999.9s -> 10417.2s (+15.7%)
  3. dist-aarch64-apple: 6871.8s -> 7893.5s (+14.9%)
  4. dist-x86_64-apple: 8109.1s -> 6916.5s (-14.7%)
  5. dist-powerpc64le-linux-musl: 5283.6s -> 6039.9s (+14.3%)
  6. x86_64-gnu-llvm-21-2: 5546.5s -> 5002.4s (-9.8%)
  7. dist-powerpc64le-linux-gnu: 5267.7s -> 5780.1s (+9.7%)
  8. x86_64-gnu-aux: 7130.0s -> 6456.4s (-9.4%)
  9. x86_64-gnu-llvm-20-2: 5077.6s -> 5551.0s (+9.3%)
  10. dist-powerpc-linux: 5553.1s -> 5047.8s (-9.1%)
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

Finished benchmarking commit (21cf7fb): comparison URL.

Overall result: ❌ regressions - 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.5% [0.5%, 0.5%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.5% [0.5%, 0.5%] 1

Max RSS (memory usage)

Results (primary 1.2%, secondary -2.2%)

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

mean range count
Regressions ❌
(primary)
5.6% [5.6%, 5.6%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-3.2% [-3.2%, -3.2%] 1
Improvements ✅
(secondary)
-2.2% [-2.2%, -2.2%] 1
All ❌✅ (primary) 1.2% [-3.2%, 5.6%] 2

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

Results (primary 0.2%)

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

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

Bootstrap: 483.918s -> 485.211s (0.27%)
Artifact size: 390.81 MiB -> 390.87 MiB (0.02%)

@JonathanBrouwer
JonathanBrouwer deleted the rollup-ietend4 branch August 21, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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.

9 participants