summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-03-31Auto merge of #139182 - BoxyUwU:stable, r=BoxyUwU 1.86.0bors-1/+236
[stable] Prepare Rust 1.86.0 r? ghost
2025-03-31bump channelBoxy-1/+1
2025-03-31release notesBoxy-0/+235
2025-03-22Auto merge of #138817 - cuviper:beta-next, r=cuviperbors-1/+12
[beta] backports - CI: Stop /msys64/bin from being prepended to PATH in msys2 shell #136815 - Install licenses into `share/doc/rust/licenses` #138412 r? cuviper
2025-03-21Install licenses into `share/doc/rust/licenses`Josh Stone-1/+1
This changes the path from "licences" to "licenses" for consistency across the repo, including the usage directly around this line. This is a US/UK spelling difference, but I believe the US spelling is also more common in open source in general. (cherry picked from commit d183da6331addfc69dfb157ef8ffc051ff0508bd)
2025-03-21Print the environment a second timeChris Denton-0/+5
(cherry picked from commit ec8ec41d9ee8b03bbddf815217452e37656e2d0b)
2025-03-21Prevent /msys64/bin from being prepended to PATHChris Denton-0/+6
(cherry picked from commit 5573cd320cd80f6ed9d44aa6129570380280f0fd)
2025-03-16Auto merge of #138525 - cuviper:beta-next, r=cuviperbors-721/+788
[beta] backports - Windows: Fix error in `fs::rename` on Windows 1607 #137528 - rustdoc: when merging target features, keep the highest stability #137632 - doctests: fix merging on stable #137899 - Revert wf sized check on beta #138122 r? cuviper
2025-03-14Fix revert falloutMichael Goulet-13/+18
(cherry picked from commit 81d6660d28c2288606dbbf1e2aa238b1309eb6aa)
2025-03-14Revert "Rollup merge of #136274 - compiler-errors:sized-wf, r=lcnr"Michael Goulet-521/+430
This reverts commit a8ecb79d19e1bad732dae7f34f2481499db12f7c, reversing changes made to 40c4e05013c1805044ae2611ba0b95c0acecd331. (cherry picked from commit 9ea587e023dfa4458c5003ba74ae02bd146ec2df)
2025-03-14doctests: 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-14doctests: 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-14also skip abi_required_features check in rustdocRalf Jung-9/+24
(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-12/+33
(cherry picked from commit 039af88e09f4f4beb47406f4771bffc2e61d800a)
2025-03-14rustdoc: disable forbidden #[target_feature] checkRalf Jung-3/+9
(cherry picked from commit b6f22400002f7921feed13e35852e3041cf2b145)
2025-03-14Return OutOfMemoryError and update docsChris Denton-3/+3
(cherry picked from commit 3cb53df1feaba73b84344c8c0e3dc4120ad8c95b)
2025-03-14Windows: Use MoveFileEx by default in `fs:rename`Chris Denton-125/+56
(cherry picked from commit 0dfe2ae3fb72c50ea369286131c73daede13d7e5)
2025-03-08Auto merge of #138190 - cuviper:beta-next, r=cuviperbors-164/+164
[beta] backports - Don't infer attributes of virtual calls based on the function body #137669 - Revert "store ScalarPair via memset when one side is undef and the other side can be memset" #137894 - Do not install rustup on Rust for Linux job #137947 r? cuviper
2025-03-07Do not use rustup to build Rust for LinuxJakub Beránek-10/+8
(cherry picked from commit e3117e6e1834838bce446517d7541dda395032d8)
2025-03-07Add a testMichael Goulet-0/+14
(cherry picked from commit 5f575bc4bca3f18e4798110b05e059a840c0fd49)
2025-03-07Revert "Auto merge of #135335 - oli-obk:push-zxwssomxxtnq, r=saethlin"Michael Goulet-125/+28
This reverts commit a7a6c64a657f68113301c2ffe0745b49a16442d1, reversing changes made to ebbe63891f1fae21734cb97f2f863b08b1d44bf8. (cherry picked from commit a59a8f9e7579b4346eb6b00c3809d04986dcfcee)
2025-03-07Don't infer unwinding of virtual calls based on the function attributesDianQK-6/+32
(cherry picked from commit fbe0075a86601e490ae217f3b291768759c39930)
2025-03-07Don't infer attributes of virtual calls based on the function bodyDianQK-60/+52
(cherry picked from commit 8089fce101f4ac2ed68c8df080c61102b0210429)
2025-03-07Add a test case for #137646DianQK-0/+67
(cherry picked from commit 28d3fef3991d52cf7bf3908944191d86b487a815)
2025-03-02Auto merge of #137747 - cuviper:beta-next, r=cuviperbors-172/+283
[beta] backports - Pass vendored sources from bootstrap to generate-copyright #137020 - Fix `-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306* #137270 - skip submodule updating logics on tarballs #137338 - Improve behavior of `IF_LET_RESCOPE` around temporaries and place expressions #137444 - downgrade bootstrap `cc` #137460 - Remove latest Windows SDK from 32-bit CI #137753 - [beta-1.86] Ensure we can package directories ending with '.rs' (rust-lang/cargo#15248) #137842 r? cuviper
2025-03-01[beta-1.86] Update cargoWeihang Lo-0/+0
2025-02-28Remove Win SDK 10.0.26100.0 from CIChris Denton-0/+14
(cherry picked from commit 25617c7e695d716d0ecb3cf2366d371441505e47)
2025-02-27downgrade bootstrap `cc`onur-ozkan-3/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev> (cherry picked from commit e4ca11f87ffca8c63aa56d45b46e62b6acc58bd7)
2025-02-27Consider lvalues of field and index as possibly temporary placesMichael Goulet-1/+46
(cherry picked from commit bad8e98c7d0ed217b58362e61ae4357e5344d995)
2025-02-27More commentsMichael Goulet-8/+16
(cherry picked from commit 2797936f6dcd29777f236a5d966d487a7f4cbbb3)
2025-02-27Improve behavior of IF_LET_RESCOPE around temporaries and place expressionsMichael Goulet-77/+92
(cherry picked from commit bab03bf1768fea8512ece42dea6d66f6f4743145)
2025-02-27skip submodule updating logics on tarballsonur-ozkan-1/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev> (cherry picked from commit d2203ad59c67a6acb2968ea77e1e9dea5530e518)
2025-02-27Fix `*-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306Li Keqing-8/+8
(cherry picked from commit 35febd7a6d57179f41cb5b4a37f9545915e4d7a5)
2025-02-27use the shared vendor impl for plan source tarballsPietro Albini-21/+17
(cherry picked from commit 92f31b95c92cb0a34413a52793a50c7d4334dbb2)
2025-02-27generate-copyright: pass the vendored sources from bootstrapPietro Albini-52/+41
(cherry picked from commit 33e7f9bc6681e32cc3b3b26ea85e21da225b89ee)
2025-02-27generate-copyright: pass the list of manifests from bootstrapPietro Albini-10/+46
(cherry picked from commit 08b4f6d2c650d3e6e9010e8a27631962bf31dec7)
2025-02-27generate-copyright: pass the source root from bootstrapPietro Albini-3/+5
(cherry picked from commit 36c314cfb7999a66a49932822a336aea47f62292)
2025-02-27Auto merge of #137507 - weihanglo:update-beta-cargo, r=weihanglobors-0/+0
[beta-1.86] Update cargo 1 commits in ce948f4616e3d4277e30c75c8bb01e094910df39..fcb465caf719e68f05671947db75a66ca7fadb2a 2025-02-14 20:32:07 +0000 to 2025-02-23 08:30:05 -0800 - [beta-1.86] depend on openssl-sys to correctly pin its version (rust-lang/cargo#15226)
2025-02-24Auto merge of #137395 - cuviper:beta-next, r=cuviperbors-465/+360
[beta] stage0 update and a backport - bump stage0 to 1.85.0 - Remove SSE ABI from i586-pc-windows-msvc #137149 r? cuviper
2025-02-23[beta-1.86] Update cargoWeihang Lo-0/+0
2025-02-21Remove SSE ABI from i586-pc-windows-msvcNoratrieb-0/+1
As an i586 target, it should not have SSE. This caused the following warning to be emitted: ``` warning: target feature `sse2` must be enabled to ensure that the ABI of the current target can be implemented correctly | = note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344> warning: 1 warning emitted ``` (cherry picked from commit 1c66d5bed9e6444923c04937f5a28bfcec427ec0)
2025-02-21bump stage0 to 1.85.0Josh Stone-465/+359
2025-02-17Auto merge of #137182 - cuviper:beta-next, r=cuviperbors-45/+86
[beta] Prepare Rust 1.86.0 This includes one backport: - fix musl's CVE-2025-26519 #137127 r? cuviper
2025-02-17bump channel to betaJosh Stone-1/+1
2025-02-17update version placeholdersJosh Stone-44/+44
2025-02-17fix musl's CVE-2025-26519Pietro Albini-0/+41
(cherry picked from commit a6ee2f4af223ff7636c5d55c735fd5bb51c8578f)
2025-02-15Auto merge of #137057 - weihanglo:update-cargo, r=weihanglobors-0/+1
Update cargo 13 commits in 2928e32734b04925ee51e1ae88bea9a83d2fd451..ce948f4616e3d4277e30c75c8bb01e094910df39 2025-02-07 16:50:22 +0000 to 2025-02-14 20:32:07 +0000 - util: provide a better error message for invalid SSH URLs (rust-lang/cargo#15185) - Fix the description of the `"root"` field of the `cargo metadata`'s output (rust-lang/cargo#15182) - refactor: Consolidate creation of SourceId from manifest path (rust-lang/cargo#15172) - docs(embedded): Note the shebang deviation (rust-lang/cargo#15173) - refactor(embedded): Integrate cargo-script logic into main parser (rust-lang/cargo#15168) - feat: implement workspace feature unification (rust-lang/cargo#15157) - Fix race condition in panic_abort_tests (rust-lang/cargo#15169) - Update all dependencies (rust-lang/cargo#15166) - Update curl from 8.9.0 to 8.12.0 (rust-lang/cargo#15162) - Update annotate-snippets from 0.11.4 to 0.11.5 (rust-lang/cargo#15165) - Update deny.toml (rust-lang/cargo#15164) - Update rusqlite from 0.32.1 to 0.33.0 (rust-lang/cargo#15163) - fix: align first line of unordered list with following (rust-lang/cargo#15161)
2025-02-15Auto merge of #137066 - onur-ozkan:137034-blocker, r=jieyouxubors-12/+15
check if CI-LLVM is enabled before testing it Blocker for #137034
2025-02-15Auto merge of #136828 - yotamofek:pr/rustdoc/more-laziness, ↵bors-95/+157
r=GuillaumeGomez,aDotInTheVoid Do more lazy-formatting in `librustdoc` 🦥 Modify some formatting to be lazy, i.e. to not allocate interim strings that are later formatted into different strings. Commits are small and stand on their own, and should mostly compile separately. (The first one doesn't compile due to `dead_code` because all it does is introduce a helper used in later commits) Really excited about this one, local perf results are really good. I'd love a perf run to see how this looks on CI. This is the comparison of `instructions:u` count between master and this PR, on my computer: # Summary | | Range | Mean | Count | |:---:|:---:|:---:|:---:| | Regressions | - | 0.00% | 0 | | Improvements | -8.03%, -0.40% | -2.93% | 5 | | All | -8.03%, -0.40% | -2.93% | 5 | # Primary benchmarks | Benchmark | Profile | Scenario | % Change | Significance Factor | |:---:|:---:|:---:|:---:|:---:| | typenum-1.17.0 | doc | full | -8.03% | 40.16x | | nalgebra-0.33.0 | doc | full | -4.19% | 20.97x | | stm32f4-0.14.0 | doc | full | -1.35% | 6.73x | | libc-0.2.124 | doc | full | -0.67% | 3.33x | | cranelift-codegen-0.82.1 | doc | full | -0.40% | 1.99x |