Skip to content

Rollup of 15 pull requests #144044

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 49 commits into from
Jul 17, 2025
Merged

Rollup of 15 pull requests #144044

merged 49 commits into from
Jul 17, 2025

Conversation

fmease
Copy link
Member

@fmease fmease commented Jul 17, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Enselic and others added 30 commits June 23, 2025 18:57
Most uses of it either contain a fat or thin lto module. Only
WorkItem::LTO could contain both, but splitting that enum variant
doesn't complicate things much.
As opposed to sending a message to the coordinator thread.
This will allow merging all fat LTO steps together. In addition it
reduces the amount of work done on the coordinator thread without
jobserver token.
This was missed in b65c2af, which only
enabled it for the glibc targets.

I didn't feel comfortable touching the OpenWRT target, whoever maintains
that will probably want to take a look whether it is necessary there as
well.

Signed-off-by: Jens Reidel <[email protected]>
This method was not really useful: at no point one would only need to
read the initialized part of the cursor without mutating it.
I assume that this method was there for completeness, but there is
hardly any useful use of it: the buffer it gave was not always connected
to the start of the cursor and its use required `unsafe` anyway to mark
the bytes as initialized.
This enable removing the `start` field, so `BorrowedCursor` fits in a
single register. Because `written` is almost always used in difference
with another call, this changes nothing else in practice.
Instead of making this a build parameter, pass the SCRIPT as an
environment variable.

To this purpose, normalize on always referring to a script in
`/scripts`.

For i686-gnu-nopt-2 I had to create a separate script, because
Docker seems to be really terrible at command line argument
parsing, so it's not possible to pass an environment variable that
contains whitespace.
this removes the need for --unsafe-perm in the Dockerfile.
Typo in word "below"
As a temporary measure while a proper fix for
`tests/ui/sized-hierarchy/incomplete-inference-issue-143992.rs`
is implemented, make `MetaSized` obligations always hold. In effect,
temporarily reverting the `sized_hierarchy` feature. This is a small
change that can be backported.
@rustbot rustbot added 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 Jul 17, 2025
@fmease
Copy link
Member Author

fmease commented Jul 17, 2025

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Jul 17, 2025

📌 Commit d5a471c has been approved by fmease

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 Jul 17, 2025
@bors
Copy link
Collaborator

bors commented Jul 17, 2025

⌛ Testing commit d5a471c with merge f8f6997...

@bors
Copy link
Collaborator

bors commented Jul 17, 2025

☀️ Test successful - checks-actions
Approved by: fmease
Pushing f8f6997 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jul 17, 2025
@bors bors merged commit f8f6997 into rust-lang:master Jul 17, 2025
12 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jul 17, 2025
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 014bd82 (parent) -> f8f6997 (this PR)

Test differences

Show 266 test diffs

Stage 1

  • [crashes] tests/crashes/133275-2.rs: pass -> [missing] (J0)
  • [crashes] tests/crashes/const_mut_ref_check_bypass.rs: pass -> [missing] (J0)
  • [ui] tests/ui/consts/const-eval/heap/make-global-other.rs: [missing] -> pass (J0)
  • [ui] tests/ui/consts/const-eval/heap/make-global-twice.rs: [missing] -> pass (J0)
  • [ui] tests/ui/consts/const-eval/heap/make-global.rs: [missing] -> pass (J0)
  • [ui] tests/ui/consts/const-eval/heap/ptr_made_global_mutated.rs: [missing] -> pass (J0)
  • [ui] tests/ui/consts/const-eval/heap/ptr_not_made_global.rs: [missing] -> pass (J0)
  • [ui] tests/ui/consts/const-eval/heap/ptr_not_made_global_mut.rs: [missing] -> pass (J0)
  • [ui] tests/ui/panics/panic-main.rs#unwind-one: [missing] -> pass (J0)
  • [ui] tests/ui/sized-hierarchy/incomplete-inference-issue-143992.rs#current: [missing] -> pass (J0)
  • errors::verify_const_eval_long_running_24: [missing] -> pass (J1)
  • errors::verify_const_eval_non_const_await_30: [missing] -> pass (J1)
  • errors::verify_const_eval_non_const_fmt_macro_call_15: pass -> [missing] (J1)
  • errors::verify_const_eval_non_const_fn_call_16: pass -> [missing] (J1)
  • errors::verify_const_eval_non_const_fn_call_17: [missing] -> pass (J1)
  • errors::verify_const_eval_non_const_for_loop_into_iter_25: pass -> [missing] (J1)
  • errors::verify_const_eval_non_const_for_loop_into_iter_26: [missing] -> pass (J1)
  • errors::verify_const_eval_non_const_intrinsic_18: [missing] -> pass (J1)
  • errors::verify_const_eval_non_const_match_eq_25: [missing] -> pass (J1)
  • errors::verify_const_eval_non_const_question_branch_27: [missing] -> pass (J1)
  • errors::verify_const_eval_raw_ptr_comparison_6: pass -> [missing] (J1)
  • errors::verify_const_eval_raw_ptr_comparison_7: [missing] -> pass (J1)
  • errors::verify_const_eval_thread_local_access_5: [missing] -> pass (J1)
  • errors::verify_const_eval_unallowed_heap_allocations_20: [missing] -> pass (J1)
  • errors::verify_const_eval_unallowed_inline_asm_21: [missing] -> pass (J1)
  • errors::verify_const_eval_unallowed_op_in_const_context_18: pass -> [missing] (J1)
  • errors::verify_const_eval_unmarked_const_item_exposed_13: [missing] -> pass (J1)
  • errors::verify_const_eval_unmarked_intrinsic_exposed_14: [missing] -> pass (J1)
  • errors::verify_const_eval_unstable_const_trait_10: pass -> [missing] (J1)
  • errors::verify_const_eval_unstable_const_trait_11: [missing] -> pass (J1)
  • errors::verify_const_eval_unstable_in_stable_exposed_3: pass -> [missing] (J1)
  • lints::verify_lint_ambiguous_glob_reexport_144: [missing] -> pass (J1)
  • lints::verify_lint_associated_const_elided_lifetime_145: pass -> [missing] (J1)
  • lints::verify_lint_atomic_ordering_fence_91: pass -> [missing] (J1)
  • lints::verify_lint_atomic_ordering_fence_93: [missing] -> pass (J1)
  • lints::verify_lint_atomic_ordering_invalid_92: pass -> [missing] (J1)
  • lints::verify_lint_atomic_ordering_load_89: pass -> [missing] (J1)
  • lints::verify_lint_avoid_att_syntax_115: [missing] -> pass (J1)
  • lints::verify_lint_avoid_intel_syntax_112: pass -> [missing] (J1)
  • lints::verify_lint_avoid_intel_syntax_114: [missing] -> pass (J1)
  • lints::verify_lint_byte_slice_in_packed_struct_with_derive_141: [missing] -> pass (J1)
  • lints::verify_lint_cfg_attr_no_attributes_119: [missing] -> pass (J1)
  • lints::verify_lint_custom_inner_attribute_unstable_125: pass -> [missing] (J1)
  • lints::verify_lint_duplicate_macro_attribute_116: pass -> [missing] (J1)
  • lints::verify_lint_duplicate_macro_attribute_118: [missing] -> pass (J1)
  • lints::verify_lint_extern_crate_not_idiomatic_141: pass -> [missing] (J1)
  • lints::verify_lint_extern_without_abi_129: pass -> [missing] (J1)
  • lints::verify_lint_inner_macro_attribute_unstable_124: pass -> [missing] (J1)
  • lints::verify_lint_invalid_asm_label_binary_105: [missing] -> pass (J1)
  • lints::verify_lint_invalid_asm_label_named_101: pass -> [missing] (J1)
  • lints::verify_lint_invalid_asm_label_named_103: [missing] -> pass (J1)
  • lints::verify_lint_legacy_derive_helpers_130: pass -> [missing] (J1)
  • lints::verify_lint_legacy_derive_helpers_132: [missing] -> pass (J1)
  • lints::verify_lint_macro_is_private_109: pass -> [missing] (J1)
  • lints::verify_lint_macro_rule_never_used_111: pass -> [missing] (J1)
  • lints::verify_lint_macro_use_deprecated_105: pass -> [missing] (J1)
  • lints::verify_lint_missing_unsafe_on_extern_138: [missing] -> pass (J1)
  • lints::verify_lint_named_argument_used_positionally_138: pass -> [missing] (J1)
  • lints::verify_lint_named_argument_used_positionally_140: [missing] -> pass (J1)
  • lints::verify_lint_or_patterns_back_compat_133: [missing] -> pass (J1)
  • lints::verify_lint_out_of_scope_macro_calls_147: pass -> [missing] (J1)
  • lints::verify_lint_out_of_scope_macro_calls_150: [missing] -> pass (J1)
  • lints::verify_lint_proc_macro_derive_resolution_fallback_128: [missing] -> pass (J1)
  • lints::verify_lint_raw_prefix_135: [missing] -> pass (J1)
  • lints::verify_lint_redundant_import_visibility_146: pass -> [missing] (J1)
  • lints::verify_lint_reexport_private_dependency_146: [missing] -> pass (J1)
  • lints::verify_lint_reserved_multihash_150: pass -> [missing] (J1)
  • lints::verify_lint_reserved_prefix_132: pass -> [missing] (J1)
  • lints::verify_lint_reserved_prefix_134: [missing] -> pass (J1)
  • lints::verify_lint_reserved_string_149: pass -> [missing] (J1)
  • lints::verify_lint_surrogate_char_cast_86: [missing] -> pass (J1)
  • lints::verify_lint_trailing_semi_macro_135: pass -> [missing] (J1)
  • lints::verify_lint_trailing_semi_macro_137: [missing] -> pass (J1)
  • lints::verify_lint_unexpected_builtin_cfg_104: pass -> [missing] (J1)
  • lints::verify_lint_unit_bindings_100: pass -> [missing] (J1)
  • lints::verify_lint_unit_bindings_102: [missing] -> pass (J1)
  • lints::verify_lint_unknown_macro_variable_121: pass -> [missing] (J1)
  • lints::verify_lint_unknown_macro_variable_123: [missing] -> pass (J1)
  • lints::verify_lint_unnameable_test_items_115: pass -> [missing] (J1)
  • lints::verify_lint_unqualified_local_imports_151: [missing] -> pass (J1)
  • lints::verify_lint_unused_closure_94: pass -> [missing] (J1)
  • lints::verify_lint_unused_comparisons_87: pass -> [missing] (J1)
  • lints::verify_lint_unused_coroutine_95: pass -> [missing] (J1)
  • lints::verify_lint_unused_crate_dependency_124: [missing] -> pass (J1)
  • lints::verify_lint_unused_doc_comment_130: [missing] -> pass (J1)
  • lints::verify_lint_unused_extern_crate_142: [missing] -> pass (J1)
  • lints::verify_lint_unused_import_braces_99: [missing] -> pass (J1)
  • lints::verify_lint_unused_label_108: pass -> [missing] (J1)
  • lints::verify_lint_unused_macro_definition_110: pass -> [missing] (J1)
  • lints::verify_lint_unused_macro_definition_112: [missing] -> pass (J1)
  • lints::verify_lint_unused_macro_use_106: pass -> [missing] (J1)
  • lints::verify_lint_unused_macro_use_108: [missing] -> pass (J1)
  • transmute::verify_lint_undefined_transmute_154: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/consts/const-eval/heap/make-global-dangling.rs: [missing] -> pass (J2)
  • [ui] tests/ui/consts/const-eval/heap/ptr_not_made_global_mut.rs: [missing] -> pass (J2)
  • [ui] tests/ui/panics/panic-main.rs#abort-full: [missing] -> pass (J2)
  • [ui] tests/ui/panics/panic-main.rs#abort-one: [missing] -> pass (J2)
  • [ui] tests/ui/traits/const-traits/const-assoc-bound-in-trait-wc.rs: [missing] -> pass (J2)
  • [crashes] tests/crashes/133275-1.rs: pass -> [missing] (J3)
  • [crashes] tests/crashes/const_mut_ref_check_bypass.rs: pass -> [missing] (J3)

(and 138 additional test diffs)

Additionally, 28 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 f8f6997469237299c1d60814c7b9828602a1f8e4 --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-apple-various: 6080.5s -> 8390.3s (38.0%)
  2. dist-aarch64-linux: 5901.6s -> 7951.8s (34.7%)
  3. x86_64-apple-2: 5853.5s -> 6696.5s (14.4%)
  4. x86_64-apple-1: 8354.2s -> 7195.6s (-13.9%)
  5. aarch64-apple: 4698.1s -> 4085.0s (-13.0%)
  6. dist-aarch64-apple: 6483.3s -> 5942.4s (-8.3%)
  7. x86_64-gnu-llvm-20-1: 3354.2s -> 3603.6s (7.4%)
  8. dist-x86_64-apple: 11486.7s -> 10639.1s (-7.4%)
  9. aarch64-msvc-1: 6408.2s -> 5969.1s (-6.9%)
  10. x86_64-gnu-tools: 3634.2s -> 3839.2s (5.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

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#142304 tests: Add RUST_BACKTRACE and -Cpanic revisions to `pan… 1ec2a3105f9cb55ca9eff8fce832846d6b1b3399 (link)
#143388 Various refactors to the LTO handling code a174bde6dabe62caa3595751aa81beef1b8f7d54 (link)
#143409 Enable xgot feature for mips64 musl targets f429a2f4800e88f48c04d2b8aa7636260203e653 (link)
#143592 UWP: link ntdll functions using raw-dylib af7d9d8da8c8ab0f57ecddead5bbdef03d61132c (link)
#143595 add const_make_global; err for const_allocate ptrs if d… 0263001658ccf9bd55058708797c55588fc26289 (link)
#143678 Added error for invalid char cast fc3d128b7c19fe4f208537c16c3d0e8b7c552f19 (link)
#143820 Fixed a core crate compilation failure when enabling the `o… 44849f68a29d89bce5f16da645740f90719fc2d7 (link)
#143829 Trim BorrowedCursor API b4cb22fd335dbde748c48397d47e341d8146e661 (link)
#143851 ci cleanup: rustdoc-gui-test now installs browser-ui-test 30b4f61bb98ba3f6252dbf5e60b4071ef9d2f4d0 (link)
#143856 Linting public reexport of private dependencies b71051e6dfcaf9275e507ba9e42c21a944675b76 (link)
#143895 Dont collect assoc ty item bounds from trait where clause f… e71f0000a07ea3f84e358279f7cd9eb652d9d7bb (link)
#143922 Improve path segment joining 3dcdeb506db6f29ede8cd160d0e8d3ff9c370ffc (link)
#143964 Fix handling of SCRIPT_ARG in docker images 59275d9cdbce83e922dc23ee7b1f95a709b46c97 (link)
#144002 Update poison.rs e97879cdb467d1b310e7a0beded7a4d0a403485e (link)
#144016 trait_sel: MetaSized always holds temporarily b838d9ce10bf2e52b7f1a0a0027531c1e884d341 (link)

previous master: 014bd8290f

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
Collaborator

Finished benchmarking commit (f8f6997): 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.3% [0.2%, 0.5%] 3
Improvements ✅
(primary)
-0.7% [-1.6%, -0.2%] 21
Improvements ✅
(secondary)
-0.4% [-1.5%, -0.2%] 27
All ❌✅ (primary) -0.7% [-1.6%, -0.2%] 21

Max RSS (memory usage)

Results (primary -3.1%, secondary -0.7%)

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

mean range count
Regressions ❌
(primary)
7.2% [7.2%, 7.2%] 1
Regressions ❌
(secondary)
3.2% [1.2%, 4.2%] 3
Improvements ✅
(primary)
-4.8% [-8.0%, -2.0%] 6
Improvements ✅
(secondary)
-4.5% [-8.9%, -1.8%] 3
All ❌✅ (primary) -3.1% [-8.0%, 7.2%] 7

Cycles

Results (primary -2.2%, secondary 1.3%)

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)
3.6% [2.8%, 4.4%] 2
Improvements ✅
(primary)
-2.2% [-2.2%, -2.2%] 2
Improvements ✅
(secondary)
-3.3% [-3.3%, -3.3%] 1
All ❌✅ (primary) -2.2% [-2.2%, -2.2%] 2

Binary size

Results (primary 0.0%)

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

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

Bootstrap: 462.752s -> 463.571s (0.18%)
Artifact size: 374.69 MiB -> 374.76 MiB (0.02%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc F-autodiff `#![feature(autodiff)]` merged-by-bors This PR was explicitly merged by bors. O-windows Operating system: Windows 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-clippy Relevant to the Clippy team. 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.