Skip to content

Conversation

Zalathar
Copy link
Contributor

@Zalathar Zalathar commented Sep 19, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

dpaoliello and others added 30 commits August 10, 2025 13:19
The immediate here encodes both the rounding mode (in the low bits)
and the scale (in the high bits). Make sure the scale is non-zero.
wasm: use `{read, write}_unaligned` methods
…g-add-sub

use `simd_saturating_{add, sub}` on neon
It's historically been flaky and is no longer needed now that std_detect
has been moved out of this repository.
use `qemu-user` instead of `qemu-user-static` for loongarch CI
They don't need full "Zbc" extension but only its subset: the "Zbkc"
extension.  Since the compiler implies `zbkc` from `zbc`, it's safe to
use `#[target_feature(enable = "zbkc")]`.
…BoxyUwU

`rustc_next_trait_solver`: canonical out of `EvalCtxt`

we need to canonicalize outside of the trait solver as well, so it's just a lot nicer if canonicalization is more easily accessible

if you review it commit by commit the move is properly shown
Allow windows resource compiler to be overridden

In rust-lang#146018, it is now required to provide a resource compiler on windows when compiling rust. This allows toolchain builders to explicitly provide a path to an alternative, such as llvm-rc, instead of the one that's provided by the Windows SDK.

cc ```@lambdageek```
…-buffer, r=juntyr

std: Fix WASI implementation of `remove_dir_all`

This commit is a change to the WASI-specific implementation of the `std::fs::remove_dir_all` function. Specifically it changes how directory entries are read of a directory-being-deleted to specifically buffer them all into a `Vec` before actually proceeding to delete anything. This is necessary to fix an interaction with how the WASIp1 `fd_readdir` API works to have everything work out in the face of mutations while reading a directory.

The basic problem is that `fd_readdir`, the WASIp1 API for reading directories, is not a stateful read of a directory but instead a "seekable" read of a directory. Its `cookie` argument enables seeking anywhere within the directory at any time to read further entries. Native host implementations do not have this ability, however, which means that this seeking property must be achieved by re-reading the directory. The problem with this is that WASIp1 has under-specified semantics around what should happen if a directory is mutated between two calls to `fd_readdir`. In essence there's not really any possible implementation in hosts except to read the entire directory and support seeking through the already-read list. This implementation is not possible in the WASIp1-to-WASIp2 adapter that is primarily used to create components for the `wasm32-wasip2` target where it has constrained memory requirements and can't buffer up arbitrarily sized directories. There's some more detailed discussion at bytecodealliance/wasmtime#11701 (comment) as well.

The WASIp1 API definitions are effectively "dead" now at the standards level meaning that `fd_readdir` won't be changing nor will a replacement be coming. For the `wasm32-wasip2` target this will get fixed once filesystem APIs are updated to use WASIp2 directly instead of WASIp1, making this buffering unnecessary. In essence while this is a hack it's sort of the least invasive thing that works everywhere for now. I don't think this is viable to fix in hosts so guests compiled to wasm are going to have to work around it by not relying on any guarantees about what happens to a directory if it's mutated between reads.
Fix tidy spellchecking on Windows

Tidy should now check for executable with the right extension for the platform when installing tools
miri subtree update

Subtree update of `miri` to rust-lang/miri@5a14200.

Created using https://github.com/rust-lang/josh-sync.

r? ``@ghost``
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustdoc-search Area: Rustdoc's search feature A-tidy Area: The tidy tool 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. 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) rollup A PR which is a rollup labels Sep 19, 2025
@Zalathar
Copy link
Contributor Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Sep 19, 2025

📌 Commit 5d404e0 has been approved by Zalathar

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 Sep 19, 2025
@bors
Copy link
Collaborator

bors commented Sep 19, 2025

⌛ Testing commit 5d404e0 with merge 5904356...

@bors
Copy link
Collaborator

bors commented Sep 19, 2025

☀️ Test successful - checks-actions
Approved by: Zalathar
Pushing 5904356 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 19, 2025
@bors bors merged commit 5904356 into rust-lang:master Sep 19, 2025
11 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Sep 19, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#146229 Automatically switch to lto-fat when flag RUSTFLAGS="- Zaut… 6b5d3a93576fcd15fe86e3855e224469c468a8b4 (link)
#146484 rustdoc-search: JavaScript optimization based on Firefox Pr… 9c630c1b8c8d67f9c78f5feb3b2d5cbb2414d74c (link)
#146541 std: simplify host lookup fa682fe5b5ea082fb391fc19690cf4a524ed971f (link)
#146615 rustc_codegen_llvm: Feature Conversion Tidying 0869e68d5a20e8d641a7453c84afa4c932827bc5 (link)
#146638 rustc_next_trait_solver: canonical out of EvalCtxt 345a7f14b646197c5b628a998bfe298c7db2d0d8 (link)
#146663 Allow windows resource compiler to be overridden d525b28c465593e0aa82aca6dfd6531b0e853d47 (link)
#146691 std: Fix WASI implementation of remove_dir_all 881c11779c829a6aa21f13920b54e97baad8b165 (link)
#146709 stdarch subtree update 8774890707966fca8f42a141ef6ac0e413898bfc (link)
#146738 Fix tidy spellchecking on Windows 1a4b67218b7e9160d6132e8d86d31e330682c956 (link)
#146740 miri subtree update aa64b984dda77c5001a8db672572190d8d72bcf6 (link)

previous master: e10aa88911

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 e10aa88 (parent) -> 5904356 (this PR)

Test differences

Show 558 test diffs

Stage 0

  • errors::verify_codegen_ssa_aix_strip_not_used_124: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_bare_instruction_set_21: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_compiler_builtins_cannot_call_122: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_copy_path_buf_27: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_cpu_required_50: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_dlltool_fail_import_library_118: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_dynamic_linking_with_lto_137: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_extract_bundled_libs_mmap_file_64: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_extract_bundled_libs_open_file_62: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_extract_bundled_libs_parse_archive_64: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_feature_not_valid_132: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_insufficient_vs_code_product_48: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_cannot_return_105: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_expected_usize_111: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_floating_point_type_83: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_mismatched_lengths_102: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_return_integer_type_95: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_second_argument_length_93: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_simd_first_86: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_simd_index_out_of_bounds_98: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_unsupported_cast_111: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_unsupported_symbol_107: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_unsupported_symbol_108: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_invalid_monomorphization_unsupported_symbol_of_size_106: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_lib_def_write_failure_10: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_linker_unsupported_modifier_13: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_linker_unsupported_modifier_14: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_lto_disallowed_134: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_lto_proc_macro_135: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_msvc_missing_linker_46: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_multiple_main_functions_75: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_no_field_9: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_no_saved_object_file_16: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_requires_rust_abi_18: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_rlib_missing_format_35: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_rlib_not_found_37: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_shuffle_indices_evaluation_77: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_static_library_native_artifacts_55: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_symbol_file_write_failure_12: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_unable_to_exe_linker_45: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_unexpected_parameter_name_24: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_unknown_archive_kind_73: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_unknown_ctarget_feature_prefix_129: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_unknown_reuse_kind_3: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_unknown_reuse_kind_4: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_unstable_ctarget_feature_130: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_unsupported_link_self_contained_72: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_visual_studio_not_installed_42: [missing] -> pass (J1)
  • errors::verify_codegen_ssa_xcrun_sdk_path_warning_127: pass -> [missing] (J1)
  • errors::verify_codegen_ssa_xcrun_unsuccessful_125: [missing] -> pass (J1)

Stage 1

  • errors::verify_codegen_ssa_aarch64_softfloat_neon_128: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_add_native_library_33: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_aix_strip_not_used_124: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_archive_build_failure_72: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_create_temp_dir_32: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_dlltool_fail_import_library_117: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_dlltool_fail_import_library_118: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_dynamic_linking_with_lto_136: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_error_calling_dlltool_120: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_error_creating_import_library_122: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_extract_bundled_libs_convert_name_67: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_extract_bundled_libs_mmap_file_63: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_extract_bundled_libs_read_entry_65: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_field_associated_value_expected_7: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_ignoring_emit_path_30: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_ignoring_output_30: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_insufficient_vs_code_product_48: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_insufficient_vs_code_product_49: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_expected_element_type_106: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_expected_return_type_102: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_float_to_int_unchecked_81: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_floating_point_vector_81: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_return_integer_type_94: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_return_length_input_type_92: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_second_argument_length_92: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_simd_first_87: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_simd_third_88: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_unsupported_operation_112: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_invalid_monomorphization_unsupported_symbol_107: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_invalid_windows_subsystem_76: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_ld64_unimplemented_modifier_12: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_lib_def_write_failure_10: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_link_exe_unexpected_error_38: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_link_script_unavailable_58: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_lto_disallowed_134: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_missing_query_depgraph_4: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_msvc_missing_linker_45: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_rlib_missing_format_35: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_rlib_only_rmeta_found_35: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_select_cpp_build_tool_workload_41: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_select_cpp_build_tool_workload_42: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_unable_to_run_54: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_unable_to_run_dsymutil_51: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_unexpected_parameter_name_23: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_unknown_reuse_kind_4: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_unstable_ctarget_feature_129: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_version_script_write_failure_10: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_visual_studio_not_installed_42: [missing] -> pass (J0)
  • errors::verify_codegen_ssa_visual_studio_not_installed_43: pass -> [missing] (J0)
  • errors::verify_codegen_ssa_xcrun_failed_invoking_124: [missing] -> pass (J0)

(and 434 additional test diffs)

Additionally, 24 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 59043567a5cf12800e1457c36ad6a6b0fa02c6b6 --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-x86_64-apple: 5881.2s -> 7808.8s (32.8%)
  2. dist-aarch64-apple: 7720.1s -> 6108.6s (-20.9%)
  3. pr-check-1: 1678.9s -> 1400.8s (-16.6%)
  4. aarch64-gnu-llvm-20-2: 2572.2s -> 2170.8s (-15.6%)
  5. x86_64-gnu-llvm-20: 2855.0s -> 2420.6s (-15.2%)
  6. aarch64-apple: 6477.4s -> 5671.4s (-12.4%)
  7. aarch64-gnu: 7163.4s -> 6380.9s (-10.9%)
  8. x86_64-gnu-miri: 4870.1s -> 4356.7s (-10.5%)
  9. x86_64-gnu-tools: 3689.1s -> 3305.5s (-10.4%)
  10. x86_64-gnu-llvm-20-3: 6736.8s -> 6045.0s (-10.3%)
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 (5904356): 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)
1.3% [1.3%, 1.3%] 1
Regressions ❌
(secondary)
0.9% [0.4%, 1.3%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 1.3% [1.3%, 1.3%] 1

Max RSS (memory usage)

Results (secondary 2.5%)

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.5% [2.4%, 2.7%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Cycles

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

Binary size

Results (secondary -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
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.0% [-0.0%, -0.0%] 1
All ❌✅ (primary) - - 0

Bootstrap: 471.12s -> 471.972s (0.18%)
Artifact size: 389.97 MiB -> 389.96 MiB (-0.00%)

@Zalathar Zalathar deleted the rollup-ewh4s9o branch September 19, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustdoc-search Area: Rustdoc's search feature A-tidy Area: The tidy tool 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-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. 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.