| Age | Commit message (Collapse) | Author | Lines |
|
Prepare Rust 1.85.0 stable release
This includes a relnotes sync and a few last-minute backports:
- change `literal_string_with_formatting_args` lint category to nursery #136982
- Update the reference for reverted `extended_varargs_abi_support` #136934
- fix musl's CVE-2025-26519 #137127
r? cuviper
|
|
environment"
This reverts commit 33ac202904e7820268b71b3280a7d2590378e3b9.
(cherry picked from commit 6287749471076a3065a5793cb0a1678324e768bb)
|
|
This reverts commit 4454fa998c9da1f1eee1602c8e8cd2732505c104.
(cherry picked from commit 395fb701e74f58e6c77e2cbdc1967478924e819f)
|
|
|
|
|
|
(cherry picked from commit a6ee2f4af223ff7636c5d55c735fd5bb51c8578f)
|
|
|
|
This PR changes literal_string_with_formatting_args category from
`suspicious` to `nursery` since there are thousands of false positive on
GitHub.
Closes #13989 since it's no longer problematic with such false positive
with ~~`pedantic`~~ `nursery` category.
changelog: [`literal_string_with_formatting_args` ] change category to
`nursery` from `suspicious`
|
|
[beta] backports
- Pattern Migration 2024: try to suggest eliding redundant binding modifiers #136577, #136857
- chore: update rustc-hash 2.1.0 to 2.1.1 #136605
- Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` #136724
- fix ensure_monomorphic_enough #136839
- Revert "Stabilize `extended_varargs_abi_support`" #136897, #136934
r? cuviper
|
|
This reverts commit 685f189b4307435b83d625fea397ef36dff4e955.
|
|
(cherry picked from commit c1da4f1d3c4fc4beb5edcfa8a303a1dcbe27b65e)
|
|
(cherry picked from commit 4898753d5d20a1a871053eece96ec8d5a4f690f8)
|
|
(cherry picked from commit 71553822402dca6635ecd5ae8418bbafc3740cf4)
|
|
(cherry picked from commit 62c2f65ccde6d5ab26ca0181ee6ec3b24f163eae)
|
|
Most of these are meant to test possible future improvements, but since
they cover cases the existing test suite didn't, I figure including them
now may be helpful.
(cherry picked from commit f1e4d94fa4bd253c26610e8d79d5da8b52bad99f)
|
|
(cherry picked from commit 8dcdb3eb3c28428267bd7bf4cb63e06f9e4330c1)
|
|
(cherry picked from commit b32a5331dcdcc1993fefeff412a20766557e558d)
|
|
(cherry picked from commit 060cc37f3225dd69b5d0df089eec52ff92953b01)
|
|
(cherry picked from commit a5cc4cbe64876c339cc1fb47fb962792bc142146)
|
|
(cherry picked from commit 767f82039c221fa609f752d2a2ea4ffd664f8138)
|
|
(cherry picked from commit a064e786633ac81c35abcf00abd9dc57a40ad9bf)
|
|
(cherry picked from commit 203d3109d8e96a6a4075205e836216d7cd281d5b)
|
|
mode
(cherry picked from commit 4331f55b729d1a41004305f85dfe4dbbcec3ee3f)
|
|
(cherry picked from commit 9202001c1c5c3bd9c1fce522744c8620e17d791a)
|
|
(cherry picked from commit bbe40acb9a192ab2afec1f8adc45c3b72925caf2)
|
|
This aligns the main error message a bit more with the phrasing in the
Edition Guide and provides a bit more information on the labels to
(hopefully!) aid in understanding.
(cherry picked from commit bdc6c4d07b5ccb91df396e152deafc3a66b539ab)
|
|
(cherry picked from commit 724b885b4e486a355d176dc78098e131f9c1b2ef)
|
|
[beta] backports
- Ensure that we don't try to access fields on a non-struct pattern type #135222
- Do not include GCC source code in source tarballs #135658
- Temporarily bring back `Rvalue::Len` #135709
- Add a couple of missing `ensure_sufficient_stacks` #136352
- Enable kernel sanitizers for aarch64-unknown-none-softfloat #135905
r? cuviper
|
|
We want kernels to be able to use this bare metal target, so
let's enable the sanitizers that kernels want to use.
(cherry picked from commit 6b06aa619297c198e923e1d406a5bb0534260fef)
|
|
(cherry picked from commit 94562ee1eae83d6cc80bda4d57b43bcdb7a842b5)
|
|
(cherry picked from commit 2c778c1e4ca8053e787998c9b18bb57222719a3d)
|
|
(cherry picked from commit c69dea90d70212bb430f183df62edc09c8c8a89f)
|
|
r=davidtwco,RalfJung"
This reverts commit b57d93d8b9525fa261404b4cd9c0670eeb1264b8, reversing
changes made to 0aeaa5eb22180fdf12a8489e63c4daa18da6f236.
(cherry picked from commit 122a55bb442bd1995df9cf9b36e6f65ed3ef4a1d)
|
|
This reverts commit 7c301ecdf5e806b7aa3c44e4a185049fabbc4381, reversing
changes made to dffaad83327454430129802f240121f8c7866208.
(cherry picked from commit 0bb4880581a6963e0b895f9550e9147c68b9537a)
|
|
This reverts commit e108481f74ff123ad98a63bd107a18d13035b275, reversing
changes made to 303e8bd768526a5812bb1776e798e829ddb7d3ca.
(cherry picked from commit ca1c17c88d1f625763859396ba7a50f36ac45cc0)
|
|
The licensing story is unclear, it makes the archive much larger, and we should not need it for building anything in the tarballs (yet).
(cherry picked from commit f854f34a502c358b0f6826ea3ebf40fb7f146de1)
|
|
(cherry picked from commit 592f2c90da6a6e1b25b3b9c2f13a2e0cfb83dcfc)
|
|
(cherry picked from commit d44f021904e3d5b2870e3c835cbad5e1421e83ec)
|
|
diagnostic
Fix #135209.
(cherry picked from commit 5f04f98c9aaf04e5f670e04dc12d4665489859fd)
|
|
[beta-1.85] backports
* [Add `AsyncFn*` to `core` prelude](https://github.com/rust-lang/rust/pull/135852)
* [Disable `overflow_delimited_expr` in edition 2024](https://github.com/rust-lang/rust/pull/136312)
* [Disable some incorrect rust-analyzer diagnostics on beta](https://github.com/rust-lang/rust/pull/136236)
* [fix: Fix #[rustc_deprecated_safe_2024]](https://github.com/rust-lang/rust-analyzer/pull/19044)
* [fix: Fix a bug where enum variants were not considered properly in type ns resolution](https://github.com/rust-lang/rust-analyzer/pull/18976)
* Update edition-guide
* [Add alternatives for static-mut-refs](https://github.com/rust-lang/edition-guide/pull/354)
* [Remove rustfmt-overflow-delimited-expr](https://github.com/rust-lang/edition-guide/pull/357)
|
|
|
|
|
|
Disable `overflow_delimited_expr` in edition 2024
This reverts the style guide changes and sets the default to "false" in rustfmt for style edition 2024.
r? `@ytmimi`
cc `@rust-lang/style` `@rust-lang/rustfmt`
|
|
|
|
Add `AsyncFn*` to `core` prelude
In https://github.com/rust-lang/rust/pull/132611 these got added to the `std` prelude only, which looks like an oversight.
r? libs-api
cc `@compiler-errors`
|
|
[beta] backports
- Always force non-trimming of path in `unreachable_patterns` lint #135310
- Add Profile Override for Non-Git Sources #135433
- resolve symlinks of LLVM tool binaries before copying them #135585
- add cache to `AmbiguityCausesVisitor` #135618
- When LLVM's location discriminator value limit is exceeded, emit locations with dummy spans instead of dropping them entirely #135643
- make it possible to use ci-rustc on tarball sources #135722
- Remove test panic from File::open #135837
- Only assert the `Parser` size on specific arches #135855
- [beta] TRPL: more backward-compatible Edition changes #135843
r? cuviper
|
|
|
|
- Improve the discussion of `unsafe` blocks within `unsafe` functions.
- Fix formatting in Appendix A
|
|
The size of this struct depends on the alignment of `u128`, for example
powerpc64le and s390x have align-8 and end up with only 280 bytes. Our
64-bit tier-1 arches are the same though, so let's just assert on those.
(cherry picked from commit aef640a6130ccb3edf9bc720881c3a9dde3c0ecd)
|
|
(cherry picked from commit fed5f98c47e64bc5e96679165d16e5eec8b4917e)
|