Jieyou Xu
5404fd07ff
triagebot: avoid unnecessary line break in PR welcome message
2025-06-04 21:25:15 +08:00
许杰友 Jieyou Xu (Joe)
90529c8e54
Merge pull request #2454 from rust-lang/tshepang-expand
2025-06-04 16:46:11 +08:00
许杰友 Jieyou Xu (Joe)
8527bb5aef
Merge pull request #2455 from Rageking8/fix-incorrect-use-of-recommend-over-recommended
2025-06-04 16:44:12 +08:00
Rageking8
9120682212
Fix incorrect use of "recommend" over "recommended"
2025-06-04 16:30:02 +08:00
Tshepang Mbambo
d159211d5c
expand meaning of ~? diagnostic annotation
2025-06-04 00:26:47 +02:00
许杰友 Jieyou Xu (Joe)
c51adbd12d
Merge pull request #2450 from jieyouxu/pr_message
2025-06-03 21:13:05 +08:00
许杰友 Jieyou Xu (Joe)
e058df17c8
Merge pull request #2451 from jieyouxu/rustc-pull
2025-06-03 20:19:44 +08:00
Jieyou Xu
88e0085b00
Merge from rustc
2025-06-03 20:17:50 +08:00
Jieyou Xu
91be3cb103
Preparing for merge from rustc
2025-06-03 20:16:00 +08:00
Jieyou Xu
36a33414f5
triagebot: configure PR welcome message for no auto/explicit reviewer
2025-06-03 20:05:19 +08:00
bors
c911e7d730
Auto merge of #141210 - RalfJung:miri-std-doctests, r=saethlin
...
tools-aux ci runner: also cross-test doctests in Miri
Miri now supports running doctests across different targets. Let's use that to run the std doctests on aarch64-apple-darwin, i686-pc-windows-msvc.
try-job: x86_64-gnu-aux
2025-06-03 03:14:19 +00:00
bors
c58f4830a2
Auto merge of #141750 - Noratrieb:gold-rush, r=bjorn3
...
Warn when gold was used as the linker
gold has been deprecated recently and is known to behave incorrectly around Rust programs, including miscompiling `#[used(linker)]`. Tell people to switch to a different linker instead.
closes rust-lang/rust#141748
r? bjorn3
2025-06-02 23:56:54 +00:00
bors
7a2568217a
Auto merge of #141912 - Kobzol:rollup-wurlnsx, r=Kobzol
...
Rollup of 5 pull requests
Successful merges:
- rust-lang/rust#141767 (ci: use free runner for aarch64-gnu-llvm-19-1 PR job)
- rust-lang/rust#141858 (Fix typo in `StructuralPartialEq` docs)
- rust-lang/rust#141865 (Optionally don't steal the THIR)
- rust-lang/rust#141874 (add f16_epsilon and f128_epsilon diagnostic items)
- rust-lang/rust#141904 (test-float-parse: apply `cfg(not(bootstrap))`)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-02 19:35:39 +00:00
bors
93a0856493
Auto merge of #141906 - chenyukang:rollup-k6v59ty, r=chenyukang
...
Rollup of 6 pull requests
Successful merges:
- rust-lang/rust#141884 (allow macro_use as first segment)
- rust-lang/rust#141885 ([RTE-484] Update SGX maintainers)
- rust-lang/rust#141892 (Fix false positive lint error from no_implicit_prelude attr)
- rust-lang/rust#141894 (rustc-dev-guide subtree update)
- rust-lang/rust#141895 (tshepang has a new email)
- rust-lang/rust#141897 (Fix citool tests when executed locally)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-02 16:15:30 +00:00
Tshepang Mbambo
1d8f15e1f7
Merge pull request #2443 from smanilov/patch-21
...
Simplify long sentence
2025-06-02 17:30:02 +02:00
Stan Manilov
c58ec21749
Simplify long sentence
2025-06-02 17:52:34 +03:00
León Orell Valerian Liehr
16525780ff
Merge pull request #2446 from fmease/fix-warning-blocks
...
Fix some warning blocks that contain Markdown
2025-06-02 16:27:47 +02:00
León Orell Valerian Liehr
6e608e5671
Fix some warning blocks that contain Markdown
...
Contents inside of an HTML element only get interpreted as Markdown
(as opposed to HTML) if its separated from the HTML tags with line breaks.
2025-06-02 16:21:59 +02:00
Tshepang Mbambo
a08948f693
Merge pull request #2445 from smanilov/patch-23
...
Add title and toc to Async chapter
2025-06-02 16:18:44 +02:00
Tshepang Mbambo
e289e75553
Merge pull request #2444 from smanilov/patch-22
...
Trivial: dedup word
2025-06-02 16:17:39 +02:00
Stan Manilov
f362726205
Add title and toc to Async chapter
...
This is standard for other chapters.
2025-06-02 17:16:29 +03:00
Stan Manilov
64ccd09863
Trivial: dedup word
2025-06-02 17:02:34 +03:00
Jakub Beránek
3d1cba7bd7
Rollup merge of #141874 - usamoi:eps, r=tgross35
...
add f16_epsilon and f128_epsilon diagnostic items
cc https://github.com/rust-lang/rust/issues/116909
r? ``@tgross35``
2025-06-02 15:19:19 +02:00
Jakub Beránek
e8e58652a4
Rollup merge of #141865 - Nadrieril:dont-steal-thir, r=oli-obk
...
Optionally don't steal the THIR
The THIR being stolen is a recurrent pain for authors of rustc drivers. This makes it optional, so that the `thir_body` query can still be used after analysis of the crate has completed.
2025-06-02 15:19:19 +02:00
Jakub Beránek
33a8bdd102
Rollup merge of #141858 - zacryol:spe-docs-typo, r=aDotInTheVoid
...
Fix typo in `StructuralPartialEq` docs
`equialent` => `equivalent`
2025-06-02 15:19:18 +02:00
Jakub Beránek
12566038b2
Rollup merge of #141767 - marcoieni:free-pr-job, r=Kobzol
...
ci: use free runner for aarch64-gnu-llvm-19-1 PR job
2025-06-02 15:19:17 +02:00
Yukang
afd0380599
Rollup merge of #141897 - Kobzol:fix-citool-tests, r=marcoieni
...
Fix citool tests when executed locally
They couldn't be executed locally before due to some additional environment reads.
I also investigated the annoying rebuilds that we see on CI all the time, and they are caused by `ring`'s build script. It should be fixed in the next ring release (https://github.com/briansmith/ring/issues/2525 ), so we can just wait for that and then update `ring`.
r? `@marcoieni`
2025-06-02 20:57:44 +08:00
Yukang
81595902af
Rollup merge of #141895 - tshepang:new-address, r=jieyouxu
...
tshepang has a new email
2025-06-02 20:57:43 +08:00
Yukang
1a9be0c862
Rollup merge of #141894 - tshepang:rdg-push, r=jieyouxu
...
rustc-dev-guide subtree update
r? `@ghost`
2025-06-02 20:57:42 +08:00
Yukang
f0267f227f
Rollup merge of #141892 - chenyukang:yukang-fix-141785-extern-crate, r=petrochenkov
...
Fix false positive lint error from no_implicit_prelude attr
Fixes rust-lang/rust#141785
r? `@petrochenkov`
2025-06-02 20:57:42 +08:00
Yukang
d7a817beb2
Rollup merge of #141885 - raoulstrackx:raoul/rte-484-update_sgx_maintainers, r=Noratrieb
...
[RTE-484] Update SGX maintainers
`@mzohreva` is no longer with Fortanix. We need to change the SGX maintainers accordingly.
2025-06-02 20:57:41 +08:00
Yukang
4462c99c97
Rollup merge of #141884 - bvanjoi:issue-140255, r=petrochenkov
...
allow macro_use as first segment
Fixes rust-lang/rust#140255
This issue may raise a question: It's reasonable an external crate name or import target be legally named `macro_use`?
2025-06-02 20:57:41 +08:00
bors
3b3df39a7f
Auto merge of #141814 - flip1995:clippy-subtree-update, r=Manishearth
...
Clippy subtree update
r? `@Manishearth`
2025-06-02 12:56:24 +00:00
nora
d9f28732d5
Merge pull request #2440 from rust-lang/tshepang-patch-1
...
distracting indirection
2025-06-02 12:55:31 +02:00
Tshepang Mbambo
39300c4b70
distracting indirection
2025-06-02 12:34:19 +02:00
Tshepang Mbambo
7d5bda0d8a
Merge pull request #2439 from rust-lang/tshepang-offline-love
...
use a relative path, so that this also works offline
2025-06-02 12:31:25 +02:00
Tshepang Mbambo
9ad4ab9bb5
use a relative path, so that this also works offline
2025-06-02 12:30:08 +02:00
Tshepang Mbambo
f3e892f57a
Merge pull request #2386 from Lysxia/fix-link
...
Fix link to GatherBorrows
2025-06-02 12:08:03 +02:00
Tshepang Mbambo
08e9bce01c
Merge pull request #2435 from smanilov/patch-19
...
Add opaque type attributes
2025-06-02 11:55:19 +02:00
Tshepang Mbambo
4bfb215935
Merge pull request #2437 from rust-lang/rustc-pull
...
Rustc pull update
2025-06-02 11:47:49 +02:00
Tshepang Mbambo
3039843284
Merge pull request #2438 from smanilov/patch-20
...
Trivial: fix typo (change `foo` to `bar`)
2025-06-02 11:27:24 +02:00
Stan Manilov
294963c0c6
Trivial: fix typo (change `foo` to `bar`)
...
There is no `foo` symbol in the preceding example. I assume the method `bar` is meant.
2025-06-02 10:52:31 +03:00
bors
592a101be3
Auto merge of #119899 - onur-ozkan:redesign-stage0-std, r=albertlarsan68,jieyouxu,mark-simulacrum,kobzol,jyn514,Noratrieb,WaffleLapkin,RalfJung,bjorn3
...
redesign stage 0 std
### Summary
**Blog post: https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/ **
This PR changes how bootstrap builds the stage 1 compiler by switching to precompiled stage 0 standard library instead of building the in-tree one. The goal was to update bootstrap to use the beta standard library at stage 0 rather than compiling it from source (see the motivation at https://github.com/rust-lang/compiler-team/issues/619 ).
Previously, to build a stage 1 compiler bootstrap followed this path:
```
download stage0 compiler -> build in-tree std -> compile stage1 compiler with in-tree std
```
With this PR, the new path is:
```
download stage0 compiler -> compile stage1 compiler with precompiled stage0 std
```
This also means that `cfg(bootstrap)`/`cfg(not(bootstrap))` is no longer needed for library development.
### Building "library"
Since stage0 `std` is no longer in-tree `x build/test/check library --stage 0` is now no-op. The minimum supported stage to build `std` is now 1. For the same reason, default stage values in the library profile is no longer 0.
Because building the in-tree library now requires a stage1 compiler, I highly recommend library developers to enable `download-rustc` to speed up compilation time.
<hr>
**Blog post: https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/ **
If you encounter a bug or unexpected results please open a topic in the [#t-infra/bootstrap](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap ) Zulip channel or create a [bootstrap issue](https://github.com/rust-lang/rust/issues/new?template=bootstrap.md ).
(Review thread: https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Review.20thread.3A.20stage.200.20redesign.20PR/with/508271433 )
~~Blocked on https://github.com/rust-lang/rust/pull/122709~~
try-job: dist-x86_64-linux
try-job: `x86_64-msvc*`
try-job: `x86_64-apple-*`
try-job: `aarch64-apple`
try-job: x86_64-gnu
try-job: `x86_64-gnu-llvm*`
2025-06-02 07:49:18 +00:00
The rustc-dev-guide Cronjob Bot
a29099fb6c
Merge from rustc
2025-06-02 04:08:41 +00:00
The rustc-dev-guide Cronjob Bot
5d7586c344
Preparing for merge from rustc
2025-06-02 04:08:33 +00:00
Stan Manilov
f267718a78
Add opaque type attributes
...
This allows for the code to compile on `nightly`.
2025-06-01 10:36:28 +03:00
bors
687ddbb1a6
Auto merge of #141725 - nnethercote:avoid-UsePath-overcounting, r=BoxyUwU
...
Avoid over-counting of `UsePath` in the HIR stats.
Currently we over-count. Details in the individual commits.
r? `@BoxyUwU`
2025-06-01 04:21:50 +00:00
nora
e76d93cb24
Merge pull request #2434 from rust-lang/tshepang-mailmap
...
update surname (was lekhonkhobe previously) and email
2025-05-31 23:20:40 +02:00
Tshepang Mbambo
e59e6bfcaf
update surname (was lekhonkhobe previously) and email
2025-05-31 23:06:14 +02:00
nora
c067de3662
Merge pull request #2432 from rust-lang/tshepang-patch-1
...
suggest build/rust-analyzer instead of build-rust-analyzer
2025-05-31 22:53:01 +02:00