Skip to content

Rollup of 5 pull requests #142906

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 16 commits into from
Jun 23, 2025
Merged

Rollup of 5 pull requests #142906

merged 16 commits into from
Jun 23, 2025

Conversation

jdonszelmann
Copy link
Contributor

@jdonszelmann jdonszelmann commented Jun 23, 2025

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lolbinarycat and others added 16 commits June 17, 2025 12:26
prefixing each key with its section means you don't
need to scroll up 4 pages to see which section
a particular key is from.

target specific options were kept in old format
since the exact section name depends on the target,
so those options must now be moved to the bottom of
the file.
rework `#[naked]` attribute parser

r? ``@oli-obk``
…ection, r=Kobzol

bootstrap.example.toml: use less contextual format

prefixing each key with its section means you don't need to scroll up 4 pages to see which section
a particular key is from.

target specific options were kept in old format since the exact section name depends on the target, so those options must now be moved to the bottom of the file.

[inspired by zulip discussion](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/consider.20rewriting.20bootstrap.2Eexample.2Etoml.20to.20use.20section.2Ekey/with/521734873)

r? ``@workingjubilee``
Make `PartialEq` a `const_trait`

r? ``@fee1-dead`` or ``@compiler-errors``

something generally useful but also required for rust-lang#142789
Fix ICE on debug builds where lints are delayed on the crate root

r? ``@oli-obk``

Closes rust-lang#142891

thanks to ``@JonathanBrouwer`` for finding it!
notify me when rdg is touched

r? jieyouxu
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) 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. rollup A PR which is a rollup labels Jun 23, 2025
@jdonszelmann
Copy link
Contributor Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Jun 23, 2025

📌 Commit 3e8e065 has been approved by jdonszelmann

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 Jun 23, 2025
@bors
Copy link
Collaborator

bors commented Jun 23, 2025

⌛ Testing commit 3e8e065 with merge 42245d3...

@bors
Copy link
Collaborator

bors commented Jun 23, 2025

☀️ Test successful - checks-actions
Approved by: jdonszelmann
Pushing 42245d3 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 23, 2025
@bors bors merged commit 42245d3 into rust-lang:master Jun 23, 2025
11 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jun 23, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#142493 rework #[naked] attribute parser eef4b84646878d98c52c4d1237a9dc3cb874dd46 (link)
#142636 bootstrap.example.toml: use less contextual format 107063659c9260accc2628121d7ab8e46971789d (link)
#142822 Make PartialEq a const_trait 719f8af25feb58902fa7793384e9674f0aacaf41 (link)
#142892 Fix ICE on debug builds where lints are delayed on the crat… eb7420cf2be10797498d1a60cd8aba8d943241ae (link)
#142904 notify me when rdg is touched a9fa447a9e122c8d1bebe9787c6db7bf071185a7 (link)

previous master: ae2fc9722f

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
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 ae2fc97 (parent) -> 42245d3 (this PR)

Test differences

Show 207 test diffs

Stage 1

  • errors::verify_passes_align_should_be_repr_align_174: [missing] -> pass (J0)
  • errors::verify_passes_align_should_be_repr_align_175: pass -> [missing] (J0)
  • errors::verify_passes_attr_application_enum_136: [missing] -> pass (J0)
  • errors::verify_passes_attr_application_enum_137: pass -> [missing] (J0)
  • errors::verify_passes_attr_application_struct_137: [missing] -> pass (J0)
  • errors::verify_passes_attr_application_struct_138: pass -> [missing] (J0)
  • errors::verify_passes_attr_application_struct_enum_union_139: [missing] -> pass (J0)
  • errors::verify_passes_attr_application_struct_enum_union_140: pass -> [missing] (J0)
  • errors::verify_passes_attr_application_struct_union_138: [missing] -> pass (J0)
  • errors::verify_passes_attr_application_struct_union_139: pass -> [missing] (J0)
  • errors::verify_passes_attr_only_in_functions_127: [missing] -> pass (J0)
  • errors::verify_passes_attr_only_in_functions_128: pass -> [missing] (J0)
  • errors::verify_passes_cannot_stabilize_deprecated_143: [missing] -> pass (J0)
  • errors::verify_passes_cannot_stabilize_deprecated_144: pass -> [missing] (J0)
  • errors::verify_passes_const_stable_not_stable_153: [missing] -> pass (J0)
  • errors::verify_passes_const_stable_not_stable_154: pass -> [missing] (J0)
  • errors::verify_passes_deprecated_attribute_141: [missing] -> pass (J0)
  • errors::verify_passes_deprecated_attribute_142: pass -> [missing] (J0)
  • errors::verify_passes_duplicate_feature_err_151: [missing] -> pass (J0)
  • errors::verify_passes_duplicate_feature_err_152: pass -> [missing] (J0)
  • errors::verify_passes_extern_main_129: [missing] -> pass (J0)
  • errors::verify_passes_implied_feature_not_exist_150: [missing] -> pass (J0)
  • errors::verify_passes_implied_feature_not_exist_151: pass -> [missing] (J0)
  • errors::verify_passes_incorrect_crate_type_131: [missing] -> pass (J0)
  • errors::verify_passes_incorrect_crate_type_132: pass -> [missing] (J0)
  • errors::verify_passes_incorrect_target_130: [missing] -> pass (J0)
  • errors::verify_passes_incorrect_target_131: pass -> [missing] (J0)
  • errors::verify_passes_ineffective_unstable_impl_161: [missing] -> pass (J0)
  • errors::verify_passes_ineffective_unstable_impl_162: pass -> [missing] (J0)
  • errors::verify_passes_inline_ignored_for_exported_134: [missing] -> pass (J0)
  • errors::verify_passes_inline_ignored_for_exported_135: pass -> [missing] (J0)
  • errors::verify_passes_missing_const_err_152: [missing] -> pass (J0)
  • errors::verify_passes_missing_const_err_153: pass -> [missing] (J0)
  • errors::verify_passes_missing_const_stab_attr_146: [missing] -> pass (J0)
  • errors::verify_passes_missing_const_stab_attr_147: pass -> [missing] (J0)
  • errors::verify_passes_missing_stability_attr_145: [missing] -> pass (J0)
  • errors::verify_passes_missing_stability_attr_146: pass -> [missing] (J0)
  • errors::verify_passes_multiple_rustc_main_128: [missing] -> pass (J0)
  • errors::verify_passes_multiple_rustc_main_129: pass -> [missing] (J0)
  • errors::verify_passes_naked_functions_incompatible_attribute_127: pass -> [missing] (J0)
  • errors::verify_passes_no_sanitize_163: [missing] -> pass (J0)
  • errors::verify_passes_no_sanitize_164: pass -> [missing] (J0)
  • errors::verify_passes_object_lifetime_err_135: [missing] -> pass (J0)
  • errors::verify_passes_object_lifetime_err_136: pass -> [missing] (J0)
  • errors::verify_passes_only_has_effect_on_133: [missing] -> pass (J0)
  • errors::verify_passes_only_has_effect_on_134: pass -> [missing] (J0)
  • errors::verify_passes_proc_macro_bad_sig_154: [missing] -> pass (J0)
  • errors::verify_passes_proc_macro_bad_sig_155: pass -> [missing] (J0)
  • errors::verify_passes_repr_align_should_be_align_173: [missing] -> pass (J0)
  • errors::verify_passes_repr_align_should_be_align_174: pass -> [missing] (J0)
  • errors::verify_passes_rustc_const_stable_indirect_pairing_164: [missing] -> pass (J0)
  • errors::verify_passes_rustc_const_stable_indirect_pairing_165: pass -> [missing] (J0)
  • errors::verify_passes_trait_impl_const_stable_147: [missing] -> pass (J0)
  • errors::verify_passes_trait_impl_const_stable_148: pass -> [missing] (J0)
  • errors::verify_passes_transparent_incompatible_140: [missing] -> pass (J0)
  • errors::verify_passes_transparent_incompatible_141: pass -> [missing] (J0)
  • errors::verify_passes_unexportable_adt_with_private_fields_172: [missing] -> pass (J0)
  • errors::verify_passes_unexportable_adt_with_private_fields_173: pass -> [missing] (J0)
  • errors::verify_passes_unexportable_fn_abi_168: [missing] -> pass (J0)
  • errors::verify_passes_unexportable_fn_abi_169: pass -> [missing] (J0)
  • errors::verify_passes_unexportable_generic_fn_167: [missing] -> pass (J0)
  • errors::verify_passes_unexportable_generic_fn_168: pass -> [missing] (J0)
  • errors::verify_passes_unexportable_item_166: [missing] -> pass (J0)
  • errors::verify_passes_unexportable_item_167: pass -> [missing] (J0)
  • errors::verify_passes_unexportable_priv_item_171: [missing] -> pass (J0)
  • errors::verify_passes_unexportable_priv_item_172: pass -> [missing] (J0)
  • errors::verify_passes_unexportable_type_in_interface_170: [missing] -> pass (J0)
  • errors::verify_passes_unexportable_type_in_interface_171: pass -> [missing] (J0)
  • errors::verify_passes_unexportable_type_repr_169: [missing] -> pass (J0)
  • errors::verify_passes_unexportable_type_repr_170: pass -> [missing] (J0)
  • errors::verify_passes_unknown_feature_148: [missing] -> pass (J0)
  • errors::verify_passes_unknown_feature_149: pass -> [missing] (J0)
  • errors::verify_passes_unknown_feature_alias_149: [missing] -> pass (J0)
  • errors::verify_passes_unknown_feature_alias_150: pass -> [missing] (J0)
  • errors::verify_passes_unnecessary_partial_stable_feature_160: [missing] -> pass (J0)
  • errors::verify_passes_unnecessary_partial_stable_feature_161: pass -> [missing] (J0)
  • errors::verify_passes_unnecessary_stable_feature_159: [missing] -> pass (J0)
  • errors::verify_passes_unnecessary_stable_feature_160: pass -> [missing] (J0)
  • errors::verify_passes_unreachable_due_to_uninhabited_155: [missing] -> pass (J0)
  • errors::verify_passes_unreachable_due_to_uninhabited_156: pass -> [missing] (J0)
  • errors::verify_passes_unstable_attr_for_already_stable_feature_144: [missing] -> pass (J0)
  • errors::verify_passes_unstable_attr_for_already_stable_feature_145: pass -> [missing] (J0)
  • errors::verify_passes_unsupported_attributes_in_where_165: [missing] -> pass (J0)
  • errors::verify_passes_unsupported_attributes_in_where_166: pass -> [missing] (J0)
  • errors::verify_passes_unused_assign_passed_162: [missing] -> pass (J0)
  • errors::verify_passes_unused_assign_passed_163: pass -> [missing] (J0)
  • errors::verify_passes_unused_capture_maybe_capture_ref_157: [missing] -> pass (J0)
  • errors::verify_passes_unused_capture_maybe_capture_ref_158: pass -> [missing] (J0)
  • errors::verify_passes_unused_var_assigned_only_158: [missing] -> pass (J0)
  • errors::verify_passes_unused_var_assigned_only_159: pass -> [missing] (J0)
  • errors::verify_passes_unused_var_maybe_capture_ref_156: [missing] -> pass (J0)
  • errors::verify_passes_unused_var_maybe_capture_ref_157: pass -> [missing] (J0)
  • errors::verify_passes_useless_assignment_132: [missing] -> pass (J0)
  • errors::verify_passes_useless_assignment_133: pass -> [missing] (J0)
  • errors::verify_passes_useless_stability_142: [missing] -> pass (J0)
  • errors::verify_passes_useless_stability_143: pass -> [missing] (J0)
  • session_diagnostics::verify_attr_parsing_naked_functions_incompatible_attribute_36: [missing] -> pass (J0)
  • [ui] tests/ui/attributes/lint_on_root.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/attributes/lint_on_root.rs: [missing] -> pass (J2)
  • [run-make] tests/run-make/compressed-debuginfo-zstd: ignore (ignored if LLVM wasn't build with zstd for ELF section compression (we want LLVM/LLD to be built with zstd support)) -> pass (J3)

(and 1 additional test diff)

Additionally, 106 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 42245d34d22ade32b3f276dcf74deb826841594c --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-aarch64-linux: 5921.3s -> 8928.6s (50.8%)
  2. mingw-check-2: 2855.0s -> 1971.1s (-31.0%)
  3. mingw-check-1: 2588.4s -> 1815.1s (-29.9%)
  4. x86_64-rust-for-linux: 3930.5s -> 2766.2s (-29.6%)
  5. x86_64-gnu-tools: 4782.3s -> 3556.6s (-25.6%)
  6. x86_64-apple-1: 7990.5s -> 9679.7s (21.1%)
  7. dist-x86_64-apple: 10092.9s -> 8136.9s (-19.4%)
  8. test-various: 5576.4s -> 4509.7s (-19.1%)
  9. armhf-gnu: 5986.0s -> 4891.7s (-18.3%)
  10. dist-apple-various: 6538.1s -> 7564.8s (15.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
Collaborator

Finished benchmarking commit (42245d3): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Our benchmarks found a performance regression caused by this PR.
This might be an actual regression, but it can also be just noise.

Next Steps:

  • If the regression was expected or you think it can be justified,
    please write a comment with sufficient written justification, and add
    @rustbot label: +perf-regression-triaged to it, to mark the regression as triaged.
  • If you think that you know of a way to resolve the regression, try to create
    a new PR with a fix for the regression.
  • If you do not understand the regression or you think that it is just noise,
    you can ask the @rust-lang/wg-compiler-performance working group for help (members of this group
    were already notified of this PR).

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

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.2% [0.2%, 0.2%] 1
Regressions ❌
(secondary)
0.2% [0.2%, 0.3%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.1% [-0.1%, -0.1%] 4
All ❌✅ (primary) 0.2% [0.2%, 0.2%] 1

Max RSS (memory usage)

Results (primary -2.5%, secondary -1.2%)

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)
2.2% [2.1%, 2.2%] 2
Improvements ✅
(primary)
-2.5% [-2.5%, -2.5%] 1
Improvements ✅
(secondary)
-1.8% [-3.8%, -1.4%] 11
All ❌✅ (primary) -2.5% [-2.5%, -2.5%] 1

Cycles

Results (secondary -7.0%)

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)
- - 0
Improvements ✅
(secondary)
-7.0% [-9.4%, -4.2%] 4
All ❌✅ (primary) - - 0

Binary size

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

Bootstrap: 690.034s -> 688.878s (-0.17%)
Artifact size: 371.99 MiB -> 371.92 MiB (-0.02%)

@rustbot rustbot added the perf-regression Performance regression. label Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-meta Area: Issues & PRs about the rust-lang/rust repository itself merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. 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-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.

7 participants