about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-08-28Use default locale fallback dataRobert Bastian-216/+30
2025-08-28Bump icu_list to 2.0Robert Bastian-434/+371
2025-08-28dates(diagnostics,tests): refresh annotated dates to Aug 2025; preserve ↵Ali Nazzal-9/+9
local style
2025-08-28triagebot: Amend a review to include a link to what was changed since (#15580)Philipp Krones-0/+3
[This feature](https://forge.rust-lang.org/triagebot/review-changes-since.html) adds a handy link to each review message (it doesn't create a new comment) that allows the reviewer or other people to check what has been changed in the PR since the review took place. changelog: none r? flip1995
2025-08-28Auto merge of #145891 - nikic:llvm-21.1.0, r=cuviperbors-0/+0
Update to LLVM 21.1.0
2025-08-28Merge ref 'd36f96412516' from rust-lang/rustThe rustc-josh-sync Cronjob Bot-35082/+61054
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: d36f964125163c2e698de5559efefb8217b8b7f0 Filtered ref: 92461731ae79cfe5044e4826160665b77c0363a2 This merge was created using https://github.com/rust-lang/josh-sync.
2025-08-28Prepare for merging from rust-lang/rustThe rustc-josh-sync Cronjob Bot-1/+1
This updates the rust-version file to d36f964125163c2e698de5559efefb8217b8b7f0.
2025-08-28Auto merge of #145949 - jhpratt:rollup-smzd7tr, r=jhprattbors-47/+179
Rollup of 5 pull requests Successful merges: - rust-lang/rust#145382 (Add assembly test for `-Zreg-struct-return` option) - rust-lang/rust#145746 (Fix STD build failing for target_os = "espidf") - rust-lang/rust#145826 (Use AcceptContext in AttribueParser::check_target) - rust-lang/rust#145894 (Ensure the coordinator thread terminates before its channels drop) - rust-lang/rust#145946 (Remove unnecessary `[dependencies.unicode-properties]` entries.) r? `@ghost` `@rustbot` modify labels: rollup
2025-08-27Rollup merge of #145946 - nnethercote:cargo-style, r=jdonszelmannJacob Pratt-14/+3
Remove unnecessary `[dependencies.unicode-properties]` entries. The Cargo style guide says to put dependencies on a single line if they fit. r? `@jdonszelmann`
2025-08-27Rollup merge of #145894 - zetanumbers:issue-142949, r=WaffleLapkinJacob Pratt-2/+5
Ensure the coordinator thread terminates before its channels drop Fixes rust-lang/rust#142949 Explanation: https://github.com/rust-lang/rust/issues/142949#issuecomment-3224573185
2025-08-27Rollup merge of #145826 - scrabsha:push-vrpwttmzqwpt, r=jdonszelmannJacob Pratt-29/+17
Use AcceptContext in AttribueParser::check_target
2025-08-27Rollup merge of #145746 - ivmarkov:fix-nofollow-espidf, r=ibraheemdevJacob Pratt-2/+11
Fix STD build failing for target_os = "espidf" A regression from rust-lang/rust#142938 cc `@lolbinarycat` cc `@ibraheemdev` ESP-IDF (and a few other embedded Tier-3 systems) is considered `cfg(unix)`, but it does not have the `O_NOFOLLOW` flag because neither of its three supported filesystems (FATFS, LitteLF and Spiffs) has symbolic links in the first place. What this fix does is to keep the `set_permissions_nofollow` method available and non-failing for ESP-IDF, but it behaves as if no `O_NONFOLLOW` was set. This should be fine as there is nothing to follow in the first place, as there are no symbolic links there. EDIT: Also added the same fix for Horizon, as requested by `@Meziu.`
2025-08-27Rollup merge of #145382 - winstonallo:reg-struct-return-asm-test, r=tgross35Jacob Pratt-0/+143
Add assembly test for `-Zreg-struct-return` option r? `@tgross35` As discussed in rust-lang/rust#145309 with `@tgross35` and `@ojeda,` I added assembly tests for the `-Zreg-struct-return` option verifying that it changes the ABI from hidden pointer to register-return on x86_32. The test covers: - Direct struct construction, showing register return vs hidden pointer - External function calls returning structs, showing ABI mismatch handling Different memory layouts affect ABI mismatch handling, but register returns use the same register allocation regardless of struct field layout (apart from the fact that they use smaller registers for smaller structs, of course). [Here](https://godbolt.org/z/dcW6rnMG3) is a compiler explorer with 2 examples. Let me know if there is anything more I could add. Since register returns only happen for structs up to the size of 2 registers, I figured testing the pivot value (8 bytes) would be most critical.
2025-08-28Auto merge of #145877 - nikic:capture-address, r=tmiaskobors-35/+47
Use captures(address) instead of captures(none) for indirect args While provenance cannot be captured through these arguments, the address / object identity can. Fixes https://github.com/rust-lang/rust/issues/137668. r? `@ghost`
2025-08-27Merge pull request #20553 from ChayimFriedman2/ns-highlight-attachChayim Refael Friedman-1/+2
fix: Attach the db in one more place in highlighting
2025-08-28Attach the db in one more place in highlightingChayim Refael Friedman-1/+2
2025-08-28Remove unnecessary `[dependencies.unicode-properties]` entries.Nicholas Nethercote-14/+3
The Cargo style guide says to put dependencies on a single line if they fit.
2025-08-27CI: rfl: support Rust >= 1.91.0 target specMiguel Ojeda-1/+2
To unblock the Rust CI in PR [1], use a temporary commit from Rust for Linux that supports the future target spec format. Link: https://github.com/rust-lang/rust/pull/144443 [1] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-08-27fix target-pointer-width in testsWaffle Lapkin-6/+6
2025-08-27accept integer `target-pointer-width` in compiletestWaffle Lapkin-7/+1
2025-08-27turn pointer width into an integer in target.jsonWaffle Lapkin-17/+14
2025-08-27allow using `target_val!` with a renameWaffle Lapkin-10/+8
2025-08-27triagebot: Amend a review to include a link to what was changed sinceSamuel Tardieu-0/+3
2025-08-27`unit_cmp`: don't lint on explicitly written unit expr (#15562)Samuel Tardieu-4/+42
Fixes rust-lang/rust-clippy#15559 changelog: [`unit_cmp`]: don't lint on explicitly written unit expr
2025-08-27fix: `collapsible_match` suggests ref/derefs when needed (#14221)Samuel Tardieu-8/+184
Fixes: #14155 If an expression is borrowed/dereferenced, suggest using `.as_ref()` or `.copied()` respectively in the outer conditional statement. changelog: [`collapsible_match`] suggests ref/dereferencing when needed.
2025-08-28fix: `collapsible_match` suggests ref/derefs when neededVishruth-Thimmaiah-8/+184
2025-08-27Auto merge of #145851 - lolbinarycat:rustdoc-optimize, r=GuillaumeGomezbors-19/+24
rustdoc: a few micro-optimizations targeted at build_impl Unsure if these will be anything substantial, but the first one at least should git rid of quite a few branches, second one unsure if it's worth it. r? `@GuillaumeGomez`
2025-08-27Merge pull request #20547 from ChayimFriedman2/highlight-related-unsafe-scopeLaurențiu Nicola-10/+44
fix: In highlight_related, when on an unsafe block, don't highlight unsafe operations of other unsafe blocks
2025-08-27Add test batch 2Oneirical-37/+41
2025-08-27Disable `int_to_ptr_transmutes` suggestion for unsized typesUrgau-13/+69
2025-08-27Stabilize BTree{Map,Set}::extract_ifSidney Cammeresi-16/+10
2025-08-27Changes to the uitestsJonathan Brouwer-366/+945
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-08-27Port the `#[link]` attribute to the new parserJonathan Brouwer-623/+639
2025-08-27Move `NativeLibKind` from `rustc_session` to `rustc_hir`Jonathan Brouwer-89/+116
2025-08-27Add assembly tests verifying the functionality of `-Zreg-struct-return` for ↵winstonallo-0/+143
structs of different sizes. This test covers: * The callee side, making sure that the structs are correctly loaded into registers when `-Zreg-struct-return` is enabled * The caller side, making sure that callers do receive returned structs in registers when `-Zreg-struct-return` is enabled Structs of the size of up to 2 registers (8 bytes) can be returned in registers in x86_32. Therefore, the tests are done with 3 different struct sizes: * 2 bytes (register returns should happen) * 8 bytes (last value where register returns should happen) * 12 bytes (register returns should not happen even when `-Zreg-struct-return` is enabled)
2025-08-27Auto merge of #145909 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo submodule 3 commits in 623d536836b4cde09ce38609232a024d5b25da81..a6c58d43051d01d83f55a3e61ef5f5b2b0dd6bd9 2025-08-22 19:05:52 +0000 to 2025-08-26 23:05:12 +0000 - test: avoid hardcoded target spec json (rust-lang/cargo#15880) - test(add): Cover some frontmatter corner cases (rust-lang/cargo#15886) - Add more context to publish-failed error message (rust-lang/cargo#15879) r? ghost
2025-08-27add doc-hidden to exports in attribute preludeJana Dönszelmann-1/+11
2025-08-27Fix format string grammar in docs and improve alignment error messageNilotpal Gupta-9/+19
2025-08-27Mention our policy on typofixes for internal docsapiraino-0/+3
2025-08-27`map_identity`: suggest making the variable mutable when necessaryAda Alakbarova-50/+148
2025-08-27Document `is_unit_expr()` (#15571)Alejandra González-0/+1
Noticed when reviewing rust-lang/rust-clippy#15562. Part of rust-lang/rust-clippy#15569. changelog: none
2025-08-27inline at the callsite & warn when target features mismatchJames Barford-Evans-27/+400
Co-authored-by: Jamie Cunliffe <Jamie.Cunliffe@arm.com>
2025-08-27`const`ify (the unstable) `str::as_str`Pavel Grigorenko-1/+1
2025-08-27Remove several remnants of the old libtest-based executorZalathar-90/+53
2025-08-27Rename `Location::file_with_nul` to `file_as_c_str`Alice Ryhl-5/+5
2025-08-27Auto merge of #145923 - matthiaskrgr:rollup-rkejtos, r=matthiaskrgrbors-167/+302
Rollup of 6 pull requests Successful merges: - rust-lang/rust#144274 (add Option::reduce) - rust-lang/rust#145562 (Simplify macro generating ToString implementations for `&…&str`) - rust-lang/rust#145625 (improve float to_degrees/to_radians rounding comments and impl) - rust-lang/rust#145740 (Introduce a `[workspace.dependencies`] section in the top-level `Cargo.toml`) - rust-lang/rust#145885 (Inherit TCC in debuginfo tests on macOS) - rust-lang/rust#145905 (Stop calling unwrap when format foreign has trailing dollar) r? `@ghost` `@rustbot` modify labels: rollup
2025-08-27Add InfiniBand and RoCE to `doc_markdown` whitelist (#15558)llogiq-23/+26
Closes rust-lang/rust-clippy#15557 changelog: [`doc_markdown`] add InfiniBand and RoCE to whitelist
2025-08-27change order of `nested_bodies_within`lcnr-1/+5
2025-08-27using full path in the suggestion of `clone_on_ref_ptr` (#15561)Timo-9/+10
Fix: rust-lang/rust-clippy#15258 changelog: suggest full path in [`clone_on_ref_ptr`] to avoid "failed to resolve" error.
2025-08-27Rollup merge of #145905 - TaKO8Ki:fix-137580, r=nnethercoteMatthias Krüger-5/+22
Stop calling unwrap when format foreign has trailing dollar Fixes rust-lang/rust#137580