about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-11Update sysinfo version to `0.36.0`Guillaume Gomez-8/+8
2025-07-11Avoid building C++ for rustc_llvm with --compile-time-depsbjorn3-0/+17
This saves about 30s.
2025-07-11Fix fallback for CI_JOB_NAMENikita Popov-1/+1
If CI_JOB_NAME is not specified, it's supposed to fall back to the image name, which is `$image`, not `$IMAGE`. Failing to set the correct CI_JOB_NAME causes failures when running `dist-ohos-*` images locally.
2025-07-11Add --compile-time-deps argument for x checkbjorn3-51/+226
This reduces the amount of time it takes to do the x check for rust-analyzer analysis from 12m16s to 3m34s when the bootstrap compiler is already downloaded.
2025-07-11Use `$RUSTC` instead of `rustc` to get version if var is availableSamuel Tardieu-1/+4
2025-07-11Merge pull request #1864 from ↵Folkert de Vries-113/+38
hkBst/thumbv7neon-unknown-linux-gnueabihf-clippy-fixes thumbv7neon-unknown-linux-gnueabihf clippy fixes
2025-07-11Fix std debug assertions gate in `fmt-write-boat`Jieyou Xu-2/+2
The test itself is still broken, but fix this gating separately first.
2025-07-11Disambiguate between rustc vs std having debug assertionsJieyou Xu-3/+25
Additionally, `NO_DEBUG_ASSERTIONS` is set by CI that threads through to the `./configure` script, which is somewhat fragile and "spooky action at a distance". Instead, use env vars controlled by compiletest, whose debug assertion info comes from bootstrap.
2025-07-11thumbv7neon-unknown-linux-gnueabihf clippy fixesMarijn Schouten-113/+38
2025-07-11Merge pull request #2502 from Kobzol/rustc-josh-sync-ci许杰友 Jieyou Xu (Joe)-102/+9
2025-07-11More discriminant codegen testsScott McMurray-0/+538
These are from 139729, updated to pass on master.
2025-07-11Some const_trait_impl test cleanupsOli Scherer-12/+4
2025-07-11std: move NuttX to use arc4random for random number generationHuang Qi-1/+1
* Move `target_os = "nuttx"` from unix_legacy to arc4random section * This aligns NuttX with other POSIX-compliant systems that support arc4random * Improves random number generation quality on NuttX by using the system's built-in arc4random implementation instead of legacy fallback methods NuttX supports arc4random_buf which provides better entropy and security compared to the legacy random number generation methods. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-07-11Remove support for SwitchInt edge effects in backward dataflow analysesTomasz Miąsko-48/+7
Those effects are untested and unused. Remove them along with the implementation of `BasicBlocks::switch_sources`.
2025-07-11constify `From` and `Into`Oli Scherer-43/+38
2025-07-11compiler: comment on some call-related codegen fn in cg_ssaJubilee Young-2/+29
Partially documents the situation due to LLVM CFI.
2025-07-11Merge pull request #20224 from Hmikihiro/migrate_remove_dbgShoyu Vanilla (Flint)-43/+44
Migrate `remove_dbg` assist to use `SyntaxEditor`
2025-07-11Migrate `remove_dbg` assist to use `SyntaxEditor`Hayashi Mikihiro-43/+44
2025-07-11build-helper: clippy fixesMarijn Schouten-26/+25
2025-07-11Call `get_switch_int_data` on a block with SwitchInt terminatorTomasz Miąsko-1/+1
Fix a mix-up of a block with its predecessors in handling of SwitchInt edge effects for backward analysis. Note that this functionality is currently unused, so change has no practical impact.
2025-07-11tidy: use write_allMarijn Schouten-1/+1
2025-07-11tidy: use flatten instead of manual flattenMarijn Schouten-5/+3
2025-07-11tidy: move to edition 2024Marijn Schouten-5/+6
2025-07-11tidy: simplify fluent file extension checkingMarijn Schouten-3/+3
2025-07-11tidy: clippy fixesMarijn Schouten-95/+79
2025-07-11x: use let-elseMarijn Schouten-5/+4
2025-07-11x: move to edition 2024Marijn Schouten-1/+1
2025-07-11x: clippy fixesMarijn Schouten-8/+5
2025-07-11Reduce clippy lints page size (#15235)Samuel Tardieu-179/+181
Follow-up of https://github.com/rust-lang/rust-clippy/pull/15208. Removed some unneeded wrappings and shortened some CSS class name. The diff is big because of one indent level getting removed. :-/ Before this PR: 1751301 With this PR: 1663634 Reduction: -5% r? @samueltardieu changelog: Reduce page size and number of DOM elements on clippy lints page
2025-07-11Rollup merge of #143718 - scottmcm:ub-transmute-is-ub, r=WaffleLapkinMatthias Krüger-27/+34
Make UB transmutes really UB in LLVM Ralf suggested in <https://github.com/rust-lang/rust/pull/143410#discussion_r2184928123> that UB transmutes shouldn't be trapping, which happened for the one path *that* PR was changing, but there's another path as well, so *this* PR changes that other path to match. r? codegen
2025-07-11Rollup merge of #143708 - epage:pretty, r=compiler-errorsMatthias Krüger-20/+17
fix: Include frontmatter in -Zunpretty output In the implementation (rust-lang/rust#140035), this was left as an open question for the tracking issue (rust-lang/rust#136889). My assumption is that this should be carried over. The test was carried over from rust-lang/rust#137193 which was superseded by rust-lang/rust#140035. Thankfully, either way, `-Zunpretty` is unstable and we can always change it even if we stabilize frontmatter.
2025-07-11Rollup merge of #143708 - epage:pretty, r=compiler-errorsMatthias Krüger-39/+157
fix: Include frontmatter in -Zunpretty output In the implementation (rust-lang/rust#140035), this was left as an open question for the tracking issue (rust-lang/rust#136889). My assumption is that this should be carried over. The test was carried over from rust-lang/rust#137193 which was superseded by rust-lang/rust#140035. Thankfully, either way, `-Zunpretty` is unstable and we can always change it even if we stabilize frontmatter.
2025-07-11Rollup merge of #143661 - Muscraft:other-suggestion-message, r=estebankMatthias Krüger-14/+301
chore: Improve how the other suggestions message gets rendered Note: This change is part of my ongoing work to use `annotate-snippets` as `rustc`'s emitter This change started as a way to remove some specialty code paths from `annotate-snippets`, by making the "and {} other candidates" message get rendered like a secondary message with no level, but turned into a fix for the message's Unicode output. Before this change, when using the Unicode output, the other suggestions message would get rendered outside of the main suggestion block, making it feel disconnected from what it was referring to. This change makes it so that the message is on the last line of the block, aligning its rendering with other secondary messages, and making it clear what the message is referring to. Before: ``` error[E0433]: failed to resolve: use of undeclared type `IntoIter` ╭▸ $DIR/issue-82956.rs:28:24 │ LL │ let mut iter = IntoIter::new(self); │ ━━━━━━━━ use of undeclared type `IntoIter` ╰╴ help: consider importing one of these structs ╭╴ LL + use std::array::IntoIter; ├╴ LL + use std::collections::binary_heap::IntoIter; ├╴ LL + use std::collections::btree_map::IntoIter; ├╴ LL + use std::collections::btree_set::IntoIter; ╰╴ and 9 other candidates ``` After: ``` error[E0433]: failed to resolve: use of undeclared type `IntoIter` ╭▸ $DIR/issue-82956.rs:28:24 │ LL │ let mut iter = IntoIter::new(self); │ ━━━━━━━━ use of undeclared type `IntoIter` ╰╴ help: consider importing one of these structs ╭╴ LL + use std::array::IntoIter; ├╴ LL + use std::collections::binary_heap::IntoIter; ├╴ LL + use std::collections::btree_map::IntoIter; ├╴ LL + use std::collections::btree_set::IntoIter; │ ╰ and 9 other candidates ```
2025-07-11Rollup merge of #143611 - GrigorenkoPV:ParseIntError, r=tgross35Matthias Krüger-2/+5
Mention more APIs in `ParseIntError` docs Fixes rust-lang/rust#143602 r? `@lolbinarycat` `@rustbot` label +A-docs
2025-07-11Rollup merge of #143568 - Ayush1325:uefi-tcp4-timeout, r=tgross35Matthias Krüger-25/+97
std: sys: net: uefi: tcp4: Add timeout support - Implement timeout support for read, write and connect. - A software implementation using Instant.
2025-07-11Rollup merge of #143303 - Kivooeo:tf28, r=tgross35Matthias Krüger-197/+262
`tests/ui`: A New Order [28/28] FINAL PART > [!NOTE] > > Intermediate commits are intended to help review, but will be squashed prior to merge. Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang/rust#133895. r? ``@tgross35``
2025-07-11Rollup merge of #143302 - Kivooeo:tf27, r=tgross35Matthias Krüger-173/+219
`tests/ui`: A New Order [27/N] > [!NOTE] > > Intermediate commits are intended to help review, but will be squashed prior to merge. Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang/rust#133895. r? ``@tgross35``
2025-07-11Rollup merge of #142391 - LevitatingBusinessMan:setsid, r=workingjubileeMatthias Krüger-0/+89
rust: library: Add `setsid` method to `CommandExt` trait Add a setsid method to the CommandExt trait so that callers can create a process in a new session and process group whilst still using the POSIX spawn fast path. Tracking issue: rust-lang/rust#105376 ACP: https://github.com/rust-lang/libs-team/issues/184 This PR was previously submitted by ``@HarveyHunt`` (whom I marked as Co-Author in the commit message) in rust-lang/rust#105377. However that PR went stale. I applied the [suggestion](https://github.com/rust-lang/rust/pull/105377/files/231d19fcbfe155b2e85116865adae4253380ff1f#r1893457943) to change the function signature to `fn setsid(&mut self, setsid: bool) -> &mut Command`.
2025-07-11fix `legacy_numeric_constants` suggestion when call is wrapped in parens ↵Samuel Tardieu-38/+172
(#15191) Fixes rust-lang/rust-clippy#15008 changelog: [`legacy_numeric_constants`]: fix suggestion when call is inside parentheses like `(i32::max_value())`
2025-07-11Auto merge of #142911 - mejrs:unsized, r=compiler-errorsbors-4/+0
Remove support for dynamic allocas Followup to rust-lang/rust#141811
2025-07-11Auto merge of #142911 - mejrs:unsized, r=compiler-errorsbors-94/+163
Remove support for dynamic allocas Followup to rust-lang/rust#141811
2025-07-11Make `utils` module private.Jason Newcomb-18/+10
2025-07-11Inline `cargo_clippy_path` and add a note about removing it when possibleJason Newcomb-29/+17
2025-07-11Use `track_caller` more for better error spans in `clippy_dev`Jason Newcomb-0/+11
2025-07-11Add helper function for creating cargo commands.Jason Newcomb-18/+21
2025-07-11Make `dev serve` actually detect all updatesJason Newcomb-38/+71
2025-07-11Rename `exit_if_err` to `run_exit_on_err`Jason Newcomb-67/+55
2025-07-11docs: clarify “dag” in std::sys_common doc commentColten-1/+1
2025-07-11Merge pull request #20230 from asahi-myzk/update-cargo-metadataShoyu Vanilla (Flint)-5/+36
update cargo_metadata to 0.21.0
2025-07-11Auto merge of #143762 - tgross35:rollup-n9t27c6, r=tgross35bors-773/+816
Rollup of 7 pull requests Successful merges: - rust-lang/rust#140136 (Add an aarch64-msvc build running on ARM64 Windows) - rust-lang/rust#143642 (stdarch subtree update) - rust-lang/rust#143707 (Fix `--skip-std-check-if-no-download-rustc`) - rust-lang/rust#143722 (Make some "safe" llvm ops actually sound) - rust-lang/rust#143728 (Resolve refactor: extraction of `finalize_module_binding` and `single_import_can_define_name`) - rust-lang/rust#143742 (Rework borrowing suggestions to use `Expr` instead of just `Span`) - rust-lang/rust#143744 (Properly track the depth when expanding free alias types) r? `@ghost` `@rustbot` modify labels: rollup