about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-05-01Rollup merge of #140556 - ↵Guillaume Gomez-4/+13
GuillaumeGomez:improve-rustdoc-gui-tool-error-output, r=clubby789 Improve error output in case `nodejs` or `npm` is not installed for rustdoc-gui test suite Fixes https://github.com/rust-lang/rust/issues/138134. It now looks like this: ![Screenshot From 2025-05-01 17-41-12](https://github.com/user-attachments/assets/ae7f2b37-3619-47ff-941d-5d9a7cdd9b6b) cc ``@kpreid``
2025-05-01Rollup merge of #140538 - tshepang:rust-push, r=jieyouxuGuillaume Gomez-151/+393
rustc-dev-guide subtree update r? ``@ghost``
2025-05-01Rollup merge of #140420 - fmease:rustdoc-fix-doctest-heur, r=GuillaumeGomezGuillaume Gomez-37/+28
rustdoc: Fix doctest heuristic for main fn wrapping Fixes #140412 which regressed in #140220 that I reviewed. As mentioned in https://github.com/rust-lang/rust/pull/140220#issuecomment-2837061779, at the time I didn't have the time to re-review its latest changes and should've therefore invalided my previous "r=me" and blocked the PR on another review given the fragile nature of the doctest impl. This didn't happen which is my fault. Contains some other small changes. Diff best reviewed modulo whitespace. r? ``@GuillaumeGomez``
2025-05-01Rollup merge of #140034 - RalfJung:simd_select_bitmask-padding, r=workingjubileeGuillaume Gomez-42/+14
simd_select_bitmask: the 'padding' bits in the mask are just ignored Fixes https://github.com/rust-lang/rust/issues/137942: we documented simd_select_bitmask to require the 'padding' bits in the mask (the mask can sometimes be longer than the vector; I am referring to these extra bits as 'padding' here) to be zero, mostly because nobody felt like doing the research for what should be done when they are non-zero. However, codegen is already perfectly happy just ignoring them, so in practice they can have any value. Some of the intrinsic wrappers in stdarch have trouble ensuring that they are zero. So let's just adjust the docs and Miri to permit non-zero 'padding' bits. Cc ````@Amanieu```` ````@workingjubilee````
2025-05-01extend the list of registered dylibs on `test::prepare_cargo_test`onur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-01Improve error output in case `nodejs` or `npm` is not installed for ↵Guillaume Gomez-4/+13
rustdoc-gui test suite
2025-05-01Remove backtrace dep from anyhow in features status dump toolChristian Legnitto-1/+1
According to `anyhow`'s Cargo.toml: > On compilers older than 1.65, features=["backtrace"] may be used to enable > backtraces via the `backtrace` crate. This feature has no effect on 1.65+ > besides bringing in an unused dependency, as `std::backtrace` is always > preferred. So this is just bringing in an unused dependency.
2025-05-01Merge pull request #4273 from yoctocell/new-cell-stateRalf Jung-72/+141
TB: add `Cell` state to support more fine-grained tracking of interior mutable data
2025-05-01rustdoc: Fix doctest heuristic for main fn wrappingLeón Orell Valerian Liehr-37/+28
2025-05-01remove a couple of clonesMatthias Krüger-90/+71
2025-05-01Add `Cell` state to Tree BorrowsXinglu Chen-72/+141
2025-05-01Merge commit '03a5b6b976ac121f4233775c49a4bce026065b47' into ↵Philipp Krones-582/+1819
clippy-subtree-update
2025-05-01Merge from rust-lang/rustLaurențiu Nicola-778/+1277
2025-05-01Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-05-01Update lockfileLaurențiu Nicola-6/+6
2025-05-01add rdg push git config entry for git protocol pushersTshepang Mbambo-0/+10
2025-05-01Bump salsaLukas Wirth-2/+2
2025-05-01fmtThe Miri Cronjob Bot-3/+1
2025-05-01Merge pull request #2367 from rust-lang/rustc-pullTshepang Mbambo-40148/+34333
Rustc pull update
2025-05-01Merge from rustcThe Miri Cronjob Bot-39690/+33289
2025-05-01Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-05-01adds commasMartin Ombura Jr.-2/+2
2025-05-01Merge from rustcThe rustc-dev-guide Cronjob Bot-40147/+34332
2025-05-01Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-05-01adds 'with' to help clarify how to build a new compilerMartin Ombura Jr.-2/+2
2025-04-30Rollup merge of #140486 - calebcartwright:rustfmt-let-chain-bool-lit, ↵Matthias Krüger-15/+17
r=calebcartwright rustfmt: Also allow bool literals as first item of let chain This is a functional cherry-pick of https://github.com/rust-lang/rustfmt/pull/6492 I'm bringing this change over directly as the subtree sync is taking more effort than anticipated (some unrelated r-l/rustfmt changes need to be reverted before we perform the full sync) and we need to ensure that rustfmt behavior accounts with the final style guide rules as part of let chain stabilization. r? ````@ghost````
2025-04-30Rollup merge of #140470 - ojeda:rfl, r=lqdMatthias Krüger-1/+1
CI: rfl: move job forward to Linux v6.15-rc4 A hopefully routine upgrade to Linux v6.15-rc4! r? `````@lqd````` `````@Kobzol````` try-job: x86_64-rust-for-linux `````@rustbot````` label A-rust-for-linux `````@bors````` try
2025-04-30Rollup merge of #140385 - lnicola:sync-from-ra, r=VeykrilMatthias Krüger-39401/+33092
Subtree update of `rust-analyzer` r? ````@ghost````
2025-04-30interpret: better error message for out-of-bounds pointer arithmetic and ↵Ralf Jung-106/+106
accesses
2025-04-30Rollup merge of #140506 - tshepang:patch-1, r=jieyouxuMatthias Krüger-1/+1
unstable-book: fix capitalization
2025-04-30Merge pull request #19723 from Veykril/push-skswknpxtzlzLukas Wirth-20/+86
fix: Improve parser recovery a bit
2025-04-30fix: Improve parser recovery a bitLukas Wirth-20/+86
2025-04-30Auto merge of #140503 - matthiaskrgr:rollup-n7zigts, r=matthiaskrgrbors-91/+121
Rollup of 11 pull requests Successful merges: - #136160 (Remove backticks from `ShouldPanic::YesWithMessage`'s `TrFailedMsg`) - #139059 (uses_power_alignment: wording tweaks) - #139192 (mention provenance in the pointer::wrapping_offset docs) - #140312 (Improve pretty-printing of braces) - #140404 (rm `TypeVistable` impls for `Canonical`) - #140437 (enable msa feature for mips in codegen tests) - #140438 (Add `rust.debug-assertions-tools` option) - #140439 (miri: algebraic intrinsics: bring back float non-determinism) - #140445 (Treat ManuallyDrop as ~const Destruct) - #140446 (chore: fix some tests) - #140448 (Rename `rustc_query_append!` to `rustc_with_all_queries!`) r? `@ghost` `@rustbot` modify labels: rollup
2025-04-30Merge pull request #2352 from xizheyin/enable-behind-upstream许杰友 Jieyou Xu (Joe)-0/+3
2025-04-30Merge pull request #2359 from rust-lang/tshepang-repo-name许杰友 Jieyou Xu (Joe)-1/+1
2025-04-30unstable-book: fix capitalizationTshepang Mbambo-1/+1
2025-04-30Merge pull request #19247 from alibektas/19172_very_newLukas Wirth-82/+146
fix: Correct span info for mir::Operand
2025-04-30Rollup merge of #140446 - mejrs:test1, r=jieyouxuMatthias Krüger-2/+1
chore: fix some tests
2025-04-30Rollup merge of #140439 - RalfJung:miri-algebraic-float-nondet, r=oli-obkMatthias Krüger-84/+98
miri: algebraic intrinsics: bring back float non-determinism Fixes https://github.com/rust-lang/miri/issues/4289 Cc ```@bjoernager``` r? ```@oli-obk```
2025-04-30Rollup merge of #140438 - ferrocene:pa-debug-assertions-tools, r=KobzolMatthias Krüger-5/+22
Add `rust.debug-assertions-tools` option Before this PR, the two only options to configure the presence of debug assertions were the `rust.debug-assertions` and `rust.debug-assertions-std` options. The former applied to everything, and the latter allowed to override the setting just for the standard library. This combination of settings doesn't allow to enable debug assertions for the std and the compiler but not tools. Some tools (like Cargo) are not really meant to be executed with debug assertions enabled, and in Ferrocene we hit some debug assertions in it that are exclusively meant for its test suite. We'd thus like to enable debug assertions everywhere but in tools. This PR adds a `rust.debug-assertions-tools` setting that does exactly this.
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-48/+31
2025-04-30Update to LLVM 20.1.4Nikita Popov-0/+0
2025-04-30chore: Adjust panic context printingLukas Wirth-12/+10
2025-04-29for a more friendly outputTshepang Mbambo-2/+6
Also, these are normal Rust things (crates/packages), so remove the word *normal*.
2025-04-29Merge pull request #2363 from smanilov/patch-1Tshepang Mbambo-13/+12
Update compiler-src.md
2025-04-29Also allow bool literals as first item of let chainCaleb Cartwright-15/+17
Co-authored-by: est31 <est31@users.noreply.github.com>
2025-04-29Merge PR #2360: Add docs about stabilizing an editionTravis Cross-0/+54
2025-04-29Fix footnotesBoxy-12/+12
2025-04-29Merge pull request #2266 from BoxyUwU/normalizationlcnr-129/+311
Introduce a normalization chapter
2025-04-29Introduce a normalization chapterBoxy-129/+311