summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-03-15Auto merge of #138521 - cuviper:stable-next, r=cuviper 1.85.1bors-211/+395
[stable] Release 1.85.1 - [Fix the doctest-merging feature of the 2024 Edition.](https://github.com/rust-lang/rust/pull/137899/) - [Relax some `target_feature` checks when generating docs.](https://github.com/rust-lang/rust/pull/137632/) - [Fix errors in `std::fs::rename` on Windows 1607.](https://github.com/rust-lang/rust/pull/137528/) - [Downgrade bootstrap `cc` to fix custom targets.](https://github.com/rust-lang/rust/pull/137460/) - [Skip submodule updates when building Rust from a source tarball.](https://github.com/rust-lang/rust/pull/137338/) Added backports to fix CI: - Remove latest Windows SDK from 32-bit CI #137753 - Do not install rustup on Rust for Linux job #137947 cc `@rust-lang/release` r? cuviper
2025-03-15Specify `std:fs::rename` in relnotesJosh Stone-1/+1
2025-03-14Do not use rustup to build Rust for LinuxJakub Beránek-10/+8
(cherry picked from commit e3117e6e1834838bce446517d7541dda395032d8)
2025-03-14Use `matrix.image`, and `i686-msvc` isn't split hereJosh Stone-1/+1
2025-03-14Remove Win SDK 10.0.26100.0 from CIChris Denton-0/+14
(cherry picked from commit 25617c7e695d716d0ecb3cf2366d371441505e47)
2025-03-14Release 1.85.1Josh Stone-1/+12
2025-03-14also skip abi_required_features check in rustdocRalf Jung-8/+23
(cherry picked from commit 4c939db0e775df21a0b409b7603eaaf0056e8f86)
2025-03-14add testRalf Jung-0/+18
(cherry picked from commit dc04c0ca48c7285d74a0489354ed7d013dc25799)
2025-03-14also fix potential issues with mixed stable/unstable target features in rustdocRalf Jung-8/+32
(cherry picked from commit 039af88e09f4f4beb47406f4771bffc2e61d800a)
2025-03-14rustdoc: disable forbidden #[target_feature] checkRalf Jung-2/+5
(cherry picked from commit b6f22400002f7921feed13e35852e3041cf2b145)
2025-03-12Bless rustdoc-ui differencesJosh Stone-5/+3
These changed in the stable backport because we don't have the rewording that came in #133154.
2025-03-12doctests: build test bundle and harness separatelyMichael Howell-64/+221
This prevents the included test case from getting at nightly-only features when run on stable. The harness builds with RUSTC_BOOTSTRAP, but the bundle doesn't. (cherry picked from commit 9cf531d26f474917f21a750d8b5fb61bbbae8faa)
2025-03-12doctests: fix merging on stableMichael Howell-1/+6
Fixes #137898 The generated multi-test harness relies on nightly-only APIs, so the only way to run it on stable is to enable them. Since tests that use crate attrs don't be merged, there's no way to use nightly-only features on it anyway. (cherry picked from commit 5d6eeea5f969a5a3478de3904e9e02df68ce8b89)
2025-03-12Return OutOfMemoryError and update docsChris Denton-3/+3
(cherry picked from commit 3cb53df1feaba73b84344c8c0e3dc4120ad8c95b)
2025-03-12Windows: Use MoveFileEx by default in `fs:rename`Chris Denton-125/+60
(cherry picked from commit 0dfe2ae3fb72c50ea369286131c73daede13d7e5)
2025-03-12downgrade bootstrap `cc`onur-ozkan-3/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev> (cherry picked from commit e4ca11f87ffca8c63aa56d45b46e62b6acc58bd7)
2025-03-12skip submodule updating logics on tarballsonur-ozkan-1/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev> (cherry picked from commit d2203ad59c67a6acb2968ea77e1e9dea5530e518)
2025-02-17Auto merge of #137181 - cuviper:stable-next, r=cuviper 1.85.0bors-56/+310
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
2025-02-17Revert "force "HEAD" for non-CI and `git_upstream_merge_base` for CI ↵Pietro Albini-13/+3
environment" This reverts commit 33ac202904e7820268b71b3280a7d2590378e3b9. (cherry picked from commit 6287749471076a3065a5793cb0a1678324e768bb)
2025-02-17Revert "add new CI step: "setup upstream remote""Pietro Albini-39/+0
This reverts commit 4454fa998c9da1f1eee1602c8e8cd2732505c104. (cherry picked from commit 395fb701e74f58e6c77e2cbdc1967478924e819f)
2025-02-17bump channel to stableJosh Stone-1/+1
2025-02-17sync RELEASES.md with masterJosh Stone-2/+264
2025-02-17fix musl's CVE-2025-26519Pietro Albini-0/+41
(cherry picked from commit a6ee2f4af223ff7636c5d55c735fd5bb51c8578f)
2025-02-17Update the reference for reverted `extended_varargs_abi_support`Josh Stone-0/+0
2025-02-17change `literal_string_with_formatting_args` lint category to nursery (#14014)Alex Macleod-1/+1
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`
2025-02-13Auto merge of #136980 - cuviper:beta-next, r=cuviperbors-255/+1077
[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
2025-02-13Revert "Stabilize `extended_varargs_abi_support`"Jubilee Young-12/+124
This reverts commit 685f189b4307435b83d625fea397ef36dff4e955.
2025-02-13fix ensure_monomorphic_enoughLukas Markeffsky-44/+5
(cherry picked from commit c1da4f1d3c4fc4beb5edcfa8a303a1dcbe27b65e)
2025-02-13add test for const type_id misoptimizationLukas Markeffsky-0/+35
(cherry picked from commit 4898753d5d20a1a871053eece96ec8d5a4f690f8)
2025-02-13Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`Frank Steffahn-3/+0
(cherry picked from commit 71553822402dca6635ecd5ae8418bbafc3740cf4)
2025-02-13chore: update rustc-hash 2.1.0 to 2.1.1Lucas Sunsi Abreu-8/+8
(cherry picked from commit 62c2f65ccde6d5ab26ca0181ee6ec3b24f163eae)
2025-02-10add more pattern migration testsdianne-1/+400
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)
2025-02-10peace of mind: be absolutely sure we don't try to emit a 0-part suggestiondianne-1/+4
(cherry picked from commit 8dcdb3eb3c28428267bd7bf4cb63e06f9e4330c1)
2025-02-10try to suggest eliding redundant binding modifiersdianne-49/+82
(cherry picked from commit b32a5331dcdcc1993fefeff412a20766557e558d)
2025-02-10peace of mind: remove a call to `Option::expect`dianne-2/+3
(cherry picked from commit 060cc37f3225dd69b5d0df089eec52ff92953b01)
2025-02-10reword default binding mode notesdianne-61/+55
(cherry picked from commit a5cc4cbe64876c339cc1fb47fb962792bc142146)
2025-02-10separate labels for default binding mode spans into their own notesdianne-124/+202
(cherry picked from commit 767f82039c221fa609f752d2a2ea4ffd664f8138)
2025-02-10don't include trailing open parens in labels for reference patternsdianne-2/+2
(cherry picked from commit a064e786633ac81c35abcf00abd9dc57a40ad9bf)
2025-02-10experimentally label the spans for default binding modesdianne-164/+205
(cherry picked from commit 203d3109d8e96a6a4075205e836216d7cd281d5b)
2025-02-10highlight the whole problem subpattern when pointing out the default binding ↵dianne-45/+129
mode (cherry picked from commit 4331f55b729d1a41004305f85dfe4dbbcec3ee3f)
2025-02-10add tests for label formattingdianne-1/+47
(cherry picked from commit 9202001c1c5c3bd9c1fce522744c8620e17d791a)
2025-02-10use more specific wording for subpatterns from macro expansionsdianne-2/+5
(cherry picked from commit bbe40acb9a192ab2afec1f8adc45c3b72925caf2)
2025-02-10reword pattern migration diagnostic to make sense in all editionsdianne-125/+164
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)
2025-02-10pattern migration: move labels out of the suggestion structdianne-19/+15
(cherry picked from commit 724b885b4e486a355d176dc78098e131f9c1b2ef)
2025-02-06Auto merge of #136650 - cuviper:beta-next, r=cuviperbors-1554/+2058
[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
2025-02-06Enable kernel sanitizers for aarch64-unknown-none-softfloatJubilee Young-1/+3
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)
2025-02-06ensure sufficient stack in unsafety checkRémy Rakic-1/+4
(cherry picked from commit 94562ee1eae83d6cc80bda4d57b43bcdb7a842b5)
2025-02-06ensure sufficient stack in tail call checkRémy Rakic-5/+8
(cherry picked from commit 2c778c1e4ca8053e787998c9b18bb57222719a3d)
2025-02-06add tests for issue 135671Rémy Rakic-0/+30
(cherry picked from commit c69dea90d70212bb430f183df62edc09c8c8a89f)
2025-02-06Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, ↵Rémy Rakic-1451/+1663
r=davidtwco,RalfJung" This reverts commit b57d93d8b9525fa261404b4cd9c0670eeb1264b8, reversing changes made to 0aeaa5eb22180fdf12a8489e63c4daa18da6f236. (cherry picked from commit 122a55bb442bd1995df9cf9b36e6f65ed3ef4a1d)