Skip to content

Rollup of 6 pull requests #141518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
May 25, 2025
Merged

Rollup of 6 pull requests #141518

merged 17 commits into from
May 25, 2025

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented May 24, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

thaliaarchi and others added 17 commits April 20, 2025 02:13
Reduce boilerplate in doctests by replacing fallible function calls with
literals.
- Rename `USED` to `USED_COMPILER` to better reflect its behavior.
- Reorder some items to group the used and allocator flags together
- Renumber them without gaps
…ce, r=jhpratt

Stabilize `<[T; N]>::as_mut_slice` as `const`

This is trivial and has no design questions.

Tracked in rust-lang#133333.

r? libs-api
…r=jhpratt

additional edge cases tests for `path.rs` 🧪

This pull request adds a few new edge case tests to the `std::path` module. The new tests cover scenarios such as paths with only separators, non-ASCII and Unicode characters, embedded new lines, etc. Each new test is documented with some helpful in-line comments as well.
…triddle

Update askama to `0.14.0`

[Askama 0.14.0 release notes](https://github.com/askama-rs/askama/releases/tag/v0.14.0)

Just one change needed for a filter in rustdoc.

r? ```@notriddle```
Use C-string literals to reduce boilerplate

Reduce boilerplate in doctests by replacing fallible function calls with
literals.
rename internal panicking::try to catch_unwind

The public function is called `catch_unwind`, the intrinsic at some point got renamed to `catch_unwind` -- there's no reason to have the internal implementation of this still be called `try`, so let's rename it to match the rest.
…iler-errors

Cleanup CodegenFnAttrFlags

- Rename `USED` to `USED_COMPILER` to better reflect its behavior.
- Reorder some items to group the used and allocator flags together
- Renumber them without gaps
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-testsuite Area: The testsuite used to check the correctness of rustc 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. T-infra Relevant to the infrastructure 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. rollup A PR which is a rollup labels May 24, 2025
@GuillaumeGomez
Copy link
Member Author

@bors r+ p=5 rollup=never

@bors
Copy link
Collaborator

bors commented May 24, 2025

📌 Commit 7cd749d has been approved by GuillaumeGomez

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 May 24, 2025
@bors
Copy link
Collaborator

bors commented May 24, 2025

⌛ Testing commit 7cd749d with merge 3d86494...

@bors
Copy link
Collaborator

bors commented May 25, 2025

☀️ Test successful - checks-actions
Approved by: GuillaumeGomez
Pushing 3d86494 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 25, 2025
@bors bors merged commit 3d86494 into rust-lang:master May 25, 2025
7 checks passed
@rustbot rustbot added this to the 1.89.0 milestone May 25, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#140066 Stabilize <[T; N]>::as_mut_slice as const 95e8f09d304e6c229638f7d805cdfc009fd6de15 (link)
#141105 additional edge cases tests for path.rs 🧪 9379c1ae15d41186f930239490b1d4c96d751d45 (link)
#141487 Update askama to 0.14.0 7aff891f3f2a97a2ea270df3f0e5d0c600162941 (link)
#141498 Use C-string literals to reduce boilerplate d7e2b8e078c2bf7656230d47032a7d137ab8c813 (link)
#141505 rename internal panicking::try to catch_unwind b06c43c8703312edbc110989b6480d8580bc41e2 (link)
#141511 Cleanup CodegenFnAttrFlags 552fa28ec8e93dfd30cd4d71f1f71a783f06fc65 (link)

previous master: 5e16c66206

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

Copy link

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 5e16c66 (parent) -> 3d86494 (this PR)

Test differences

Show 26 test diffs

Stage 0

  • test_embedded_newline: [missing] -> pass (J0)
  • test_non_ascii_unicode: [missing] -> pass (J0)
  • test_only_separators: [missing] -> pass (J0)

Stage 1

  • test_embedded_newline: [missing] -> pass (J1)
  • test_non_ascii_unicode: [missing] -> pass (J1)
  • test_only_separators: [missing] -> pass (J1)

Additionally, 20 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 3d86494a0d0131c32eb15e3a4b685707b9ff000d --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. x86_64-apple-1: 6837.1s -> 9079.7s (32.8%)
  2. x86_64-apple-2: 4717.4s -> 5723.3s (21.3%)
  3. dist-apple-various: 5838.1s -> 6780.8s (16.1%)
  4. dist-x86_64-apple: 7607.0s -> 8504.5s (11.8%)
  5. x86_64-mingw-2: 7709.8s -> 7062.6s (-8.4%)
  6. mingw-check: 1259.2s -> 1170.8s (-7.0%)
  7. dist-ohos-armv7: 4337.9s -> 4048.3s (-6.7%)
  8. x86_64-gnu-debug: 5863.7s -> 6209.1s (5.9%)
  9. aarch64-apple: 4197.9s -> 3986.9s (-5.0%)
  10. dist-powerpc-linux: 5314.3s -> 5559.4s (4.6%)
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
Collaborator

Finished benchmarking commit (3d86494): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

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

Cycles

Results (primary -1.2%, secondary 2.1%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

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

Binary size

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

Bootstrap: 775.893s -> 775.592s (-0.04%)
Artifact size: 366.32 MiB -> 366.33 MiB (0.01%)

@GuillaumeGomez GuillaumeGomez deleted the rollup-ivjep2j branch May 25, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-testsuite Area: The testsuite used to check the correctness of rustc 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-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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.

9 participants