about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-15tidy static regex: OnceLock -> LazyLockMarijn Schouten-2/+3
2025-07-15Add std::hint::spin_loop()Patrick-6-6/+22
2025-07-15tidy: more clippy fixesMarijn Schouten-112/+110
2025-07-15Auto merge of #143460 - JonathanBrouwer:cfg_parser, r=jdonszelmannbors-428/+897
Port `#[cfg]` to the new attribute parsing infrastructure Ports `#[cfg]` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197 I've split this PR into commits for reviewability, and left some comments to clarify things
2025-07-15constify `Index` trait and its slice implsOli Scherer-48/+60
2025-07-15constify some methods using `SliceIndex`Oli Scherer-23/+33
2025-07-15constify `SliceIndex` traitOli Scherer-25/+53
2025-07-15New example for E0536Jonathan Brouwer-16/+13
2025-07-15Changes to diagnosticsJonathan Brouwer-98/+163
2025-07-15Define attribute parser & config evaluatorJonathan Brouwer-264/+325
2025-07-15Add tests for UB check in `set_len`, `from_raw_parts_in`, `from_parts_in`xizheyin-0/+55
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-07-15fix suggestion causes error of `needless_for_each` (#15262)Jason Newcomb-9/+32
Fixes: rust-lang/rust-clippy#15256 changelog: fix suggestion causes error of [`needless_for_each`] when the `body.value` comes from macro expansion.
2025-07-15Move `cfg` -> `cfg_old`Jonathan Brouwer-1/+250
2025-07-15Allow `Early` stage to emit errorsJonathan Brouwer-18/+93
2025-07-15Define datastructures for `#[cfg]` attribute, move StrippedCfgItemJonathan Brouwer-31/+53
2025-07-15Merge pull request #4468 from rust-lang/rustup-2025-07-15Ralf Jung-1339/+1816
Automatic Rustup
2025-07-15Merge from rustcThe Miri Cronjob Bot-4/+513
2025-07-15Merge from rustcThe Miri Cronjob Bot-1338/+1815
2025-07-15Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-07-15test: Add UI tests for testing type analysis autodiffKaran Janthe-0/+1302
Signed-off-by: Karan Janthe <karanjanthe@gmail.com>
2025-07-15Recover and suggest use `;` to construct array typexizheyin-86/+182
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-07-15fix `needless_for_each` suggests wrongly for macrosBoot0x7c00-9/+32
2025-07-14Add more tests, clean up codeMichael Howell-7/+308
2025-07-15Merge pull request #1872 from folkertdev/aarch64-horizontal-addAmanieu d'Antras-244/+102
`aarch64`: use `intrinsics::simd` for horizontal add and `abs`
2025-07-14Auto merge of #142885 - a1phyr:borrowed_cursor_to_buf, r=Mark-Simulacrumbors-0/+87
core: Add `BorrowedCursor::with_unfilled_buf` Implementation of https://github.com/rust-lang/libs-team/issues/367. This mainly adds `BorrowedCursor::with_unfilled_buf`, with enables using the unfilled part of a cursor as a `BorrowedBuf`. Note that unlike the ACP, `BorrowedCursor::unfilled_buf` was moved to a `From` conversion. This is more consistent with other ways of creating a `BorrowedBuf` and hides a bit this conversion that requires unsafe code to be used correctly. Cc rust-lang/rust#78485 rust-lang/rust#117693
2025-07-15`aarch64`: implement `vabs` using `instrinsics::simd`Folkert de Vries-27/+44
2025-07-14Merge pull request #1869 from folkertdev/s390x-use-rounding-intrinsicAmanieu d'Antras-3/+14
`s390x`: document the different rounding flavors
2025-07-14Update mdbook to 0.4.52Eric Huss-3/+3
Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0452 This primarily picks up a few fixes.
2025-07-14Merge pull request #1837 from heiher/loong32Amanieu d'Antras-247/+327
loongarch: Add basic support for LoongArch32
2025-07-14Merge pull request #1871 from folkertdev/aarch64-float-min-maxAmanieu d'Antras-491/+66
`aarch64`: use more of `intrinsics::simd` for min/max
2025-07-14Merge pull request #1870 from Kobzol/rustc-pull-ciAmanieu d'Antras-0/+22
Add rustc-pull CI automation workflow
2025-07-14Merge pull request #1852 from folkertdev/optimize-intrinsic-testAmanieu d'Antras-95/+93
`intrinsic-test`: use runner also for rust
2025-07-14Merge pull request #2497 from rust-lang/tshepang-git-cloneManuel Drehwald-6/+6
tweak some git clone commands
2025-07-14`useless_conversion`: move all the impl to the same lint pass (#15274)Samuel Tardieu-30/+27
Needed to split the lints crate. changelog: none
2025-07-15Infer lifetimes for GATs in expression/pattern positionChayim Refael Friedman-2/+30
We should not only in type position.
2025-07-14Port `#[pointee]` to the new attribute parsing infrastructureJonathan Brouwer-3/+16
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-14update `cfg_select!` documentationFolkert de Vries-30/+39
and make internal terminology consistent Co-authored-by: Travis Cross <tc@traviscross.com>
2025-07-14Don't always panic if WASI_SDK_PATH is not set when detecting compilersPaul Murphy-4/+9
They are not always needed when building std, as is the case when packaging on Fedora. Panic if building from CI, but warn otherwise.
2025-07-14Auto merge of #143745 - flip1995:clippy-subtree-update, r=Manishearthbors-470/+3266
Clippy subtree update r? `@Manishearth` Cargo.lock update due to `ui_test` bump and restructure.
2025-07-14Auto merge of #143745 - flip1995:clippy-subtree-update, r=Manishearthbors-631/+3310
Clippy subtree update r? `@Manishearth` Cargo.lock update due to `ui_test` bump and restructure.
2025-07-14Update booksrustbot-0/+0
2025-07-15Update triagebot autolabelJieyou Xu-1/+0
2025-07-15Remove mentions of `./x suggest` and `suggest-tests` in rustc-dev-guideJieyou Xu-80/+0
2025-07-15Regenerate completions after removing `./x suggest`Jieyou Xu-644/+2
2025-07-15Remove current implementation of `./x suggest`Jieyou Xu-348/+10
This is quite a bit of implementation complexity, yet it is quite broken, and we don't have the maintenance bandwidth to address. Remove the current implementation if only to reduce bootstrap's implementation complexity; the `suggest` flow comes with its own set of hacks.
2025-07-15Register change tracker warning for removal of `./x suggest`Jieyou Xu-0/+5
2025-07-14Auto merge of #143934 - samueltardieu:rollup-w3iw614, r=samueltardieubors-407/+461
Rollup of 8 pull requests Successful merges: - rust-lang/rust#141809 (Don't call WSACleanup on process exit) - rust-lang/rust#143710 (Updates to random number generation APIs) - rust-lang/rust#143848 (Rename `stable_mir` and `rustc_smir`) - rust-lang/rust#143855 (Port `#[omit_gdb_pretty_printer_section]` to the new attribute parsing) - rust-lang/rust#143868 (warn on align on fields to avoid breaking changes) - rust-lang/rust#143870 ([COMPILETEST-UNTANGLE 6/N] Use `TestSuite` enum instead of stringly-typed test suites) - rust-lang/rust#143901 (Region constraint nits) - rust-lang/rust#143903 (Fix typos in documentation files) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-14tests: Fix duplicated-path-in-error fail with muslJens Reidel-0/+10
musl's dlopen returns a different error than glibc, which contains the name of the file. This would cause the test to fail, since the filename would appear twice in the output (once in the error from rustc, once in the error message from musl). Split the expected test outputs for the different libc implementations. Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-07-14rustc_type_ir/walk: move docstring to `TypeWalker` itselfAda Alakbarova-6/+6
having it on the impl block is a bit weird imo
2025-07-14Rollup merge of #143903 - vtjl10:master, r=jieyouxuSamuel Tardieu-2/+2
Fix typos in documentation files ## Summary Fix minor typos in documentation files to improve readability. ## Changes - **tests/mir-opt/pre-codegen/README.md**: Fix typo `condiguration` → `configuration` - **tests/ui/SUMMARY.md**: Fix typo in RFC link URL (`namepsace ` → `namespace`) ## Type of Change - [x] Documentation update - [x] Bug fix (typo correction)