| Age | Commit message (Collapse) | Author | Lines |
|
[stable] Prepare the 1.87.0 release
Preparing the stable artifacts as described in the release process.
This PR also includes the following last minute backports:
* https://github.com/rust-lang/rust/pull/140810
* https://github.com/rust-lang/rust/pull/140601
* https://github.com/rust-lang/rust/pull/140684
r? `@ghost`
|
|
|
|
|
|
|
|
|
|
are provided
|
|
Co-authored-by: Jana Dönszelmann <jana@donsz.nl>
|
|
`ptr_eq` was recently enhanced to lint on more cases of raw pointers
comparison:
- lint on all raw pointer comparison, by proposing to use
`[core|std]::ptr::eq(lhs, rhs)` instead of `lhs == rhs`;
- removing one symetric `as usize` on each size if needed
- peeling any level of `as *[const|mut] _` if the remaining expression
can still be coerced into the original one (i.e., is a ref or raw
pointer to the same type as before)
The current change restricts the lint to the cases where at least one
level of symetric `as usize`, or any conversion to a raw pointer, could
be removed. For example, a direct comparaison of two raw pointers will
not trigger the lint anymore.
changelog: [`ptr_eq`]: do not lint when comparing two raw pointers
directly with no casts involved
Fixes rust-lang/rust-clippy#14525
|
|
We do not want to remove casts done inside macros. Also, when printing
the suggestion, take it from the same context as the origin expression
(the root context).
Problems found while working on #14526, but should be merged even if
#14526 is not.
changelog: none
|
|
Fixes rust-lang/rust-clippy#14449, introduced in #14314
changelog: [`map_entry`]: fix a false positive where the lint would
trigger without any insert calls present
|
|
Fixes https://github.com/rust-lang/rust-clippy/issues/14660
changelog: none
|
|
|
|
|
|
[beta-1.87] Update cargo
1 commits in 202515849e943032d8fdd3eba57bf2c86e0da736..99624be96e9d213b0e9b1e36451271f24e4a41d8
2025-04-06 19:30:58 -0400 to 2025-05-06 19:28:33 -0500
- [beta-1.87] fix(rustc): Don't panic on unknown bins (rust-lang/cargo#15500)
|
|
|
|
[beta] backports
- Don't allow flattened format_args in const. #139624
- set subsections_via_symbols for ld64 helper sections #139752
- Fix detection of `main` function if there are expressions around it #140220
- rustdoc: Fix doctest heuristic for main fn wrapping #140420
- extend the list of registered dylibs on `test::prepare_cargo_test` #140563
r? cuviper
|
|
Signed-off-by: onur-ozkan <work@onurozkan.dev>
(cherry picked from commit 7b25d4a99edc12909dc73c31cb6a44238c4b9bf9)
|
|
(cherry picked from commit 714ea10ea41e97310a1b3d90fed4cfb3e2dd6b73)
|
|
(cherry picked from commit aa69e3a0cb8f1b2e086709a038baad6f39249150)
|
|
a function
(cherry picked from commit 3ef98a55ef95b058e55897f1b213dd965839e3ed)
|
|
(cherry picked from commit 3ededc1053f752d993a0b25286faebfe3616819d)
|
|
(cherry picked from commit 81438c0b05f177ae7bc0d6511d1cc507652eb241)
|
|
(cherry picked from commit 35363245657ee53a3735f1cef0df9a45e9ed44b9)
|
|
(cherry picked from commit b1a38313cb0dee9a7c5573ae37ad48b0a347cb7c)
|
|
(cherry picked from commit 56426db0b634fcd8d7e5842f39593651a594e602)
|
|
(cherry picked from commit cc791ebe60f936355ffa62a53789cc69bcfde7e6)
|
|
[beta] Delay `hash_extract_if` stabilization from 1.87 to 1.88
This PR is a revert of:
- https://github.com/rust-lang/rust/pull/134655
for use in the event that we are unable to get https://github.com/rust-lang/rust/pull/139764 into 1.87 (current beta).
|
|
[beta] backports
- Do not mix normalized and unnormalized caller bounds when constructing param-env for `receiver_is_dispatchable` #138941
- Ignore zero-sized types in wasm future-compat warning #139498
- Don't warn about `v128` in wasm ABI transition #139809
- Revert overzealous parse recovery for single colons in paths #140228
r? cuviper
|
|
Beta-backporting #140228 has the same effect on this test as #139341
already had on master.
|
|
(cherry picked from commit 16da97be2f1e94a550985f22289975db4b32c18d)
|
|
This has other warnings if necessary and doesn't need extra warnings
from this FCW.
cc #138762
(cherry picked from commit 19e44d463bf671f6ec1b02b32837ad54dd5d626f)
|
|
This commit fixes a false positive of the warning triggered for #138762
and the fix is to codify that zero-sized types are "safe" in both the
old and new ABIs.
(cherry picked from commit f9091e24a0af713378ee705c86689c1435d0b157)
|
|
param-env for receiver_is_dispatchable
(cherry picked from commit 4f2baaa9c6b75d4267eea9e1096339d56d380615)
|
|
[beta] backports
- Fix 2024 edition doctest panic output #139328
- make `Arguments::as_statically_known_str` doc(hidden) #139389
- Revert "Deduplicate template parameter creation" #139878
- sync::mpsc: prevent double free on `Drop` #139553
r? cuviper
|
|
This PR is fixing a regression introduced by #121646 that can lead to a
double free when dropping the channel.
The details of the bug can be found in the corresponding crossbeam PR
https://github.com/crossbeam-rs/crossbeam/pull/1187
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
(cherry picked from commit b9e2ac5c7b1d6bb3b6f5fdfe0819eaf7e95bf7ff)
|
|
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
(cherry picked from commit 9eb6a5446a4e35f48ad22a5b70a74a8badb9fa0d)
|
|
This reverts commit 6adc2c1fd6ecde7bf83c8b8fbc71f402ced87054.
(cherry picked from commit 38f7060a73acd5ec6ed7d4820dccbf2aa584fc68)
|
|
(cherry picked from commit cfcc47ea540750dac30010edb42c4fa21efd577a)
|
|
(cherry picked from commit f9927ee042f7d7418fbb64082272ce1feff4d895)
|
|
(cherry picked from commit fff2484700bb7d1fa320a666109d1868767dfa6a)
|
|
(cherry picked from commit a91e97c06c778b84663cfe4f2871b868d275a137)
|
|
|
|
[beta] Revert "Remove `prev_index_to_index` field from `CurrentDepGraph`"
This reverts https://github.com/rust-lang/rust/pull/138824 on beta to fix issues with incremental compilation in that PR. https://github.com/rust-lang/rust/pull/139410 will fix these on master.
r? `@oli-obk`
|
|
This reverts commit 60e4a1b8f37c48cfc4c8c78aaafc5ff2f8d02ca1.
|
|
[beta-1.87] Update cargo
1 commits in a6c604d1b8a2f2a8ff1f3ba6092f9fda42f4b7e9..202515849e943032d8fdd3eba57bf2c86e0da736
2025-03-26 18:11:00 +0000 to 2025-04-06 19:30:58 -0400
- [beta-1.87] chore: Bump cargo-util-schemas to 0.8.1 (rust-lang/cargo#15402)
r? ghost
|
|
|
|
[beta] bump stage0
|
|
|
|
[beta] Prepare Rust 1.87.0
r? ghost
|
|
|