Commit Graph

2718 Commits

Author SHA1 Message Date
Matthias Krüger 0c371e20ad
Rollup merge of #141970 - onur-ozkan:skip-stage1-std, r=Kobzol
implement new `x` flag: `--skip-std-check-if-no-download-rustc`

One of our developers (``@RalfJung)`` [reported](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Surprising.20stages.20for.20check.20build.20after.20stage.20reorg/with/521925606)[#t-infra/bootstrap > Surprising stages for check build after stage reorg](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Surprising.20stages.20for.20check.20build.20after.20stage.20reorg/with/521925606) that working on both the compiler and the library simultaneously with RA enabled is extremely difficult because checking library creates a heavy load on machines (by building stage1 compiler) on each modification. `--skip-std-check-if-no-download-rustc` flag is intended to reduce this heavy load on their IDE integration as much as possible.

Fixes: rust-lang/rust#141955
2025-06-05 12:21:34 +02:00
onur-ozkan cda721a97f document `skip-std-check-if-no-download-rustc` in rustc-dev-guide
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-06-04 15:23:58 +03:00
Jieyou Xu 88e0085b00 Merge from rustc 2025-06-03 20:17:50 +08: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
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
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
Tshepang Mbambo 39300c4b70
distracting indirection 2025-06-02 12:34:19 +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
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
The rustc-dev-guide Cronjob Bot a29099fb6c Merge from rustc 2025-06-02 04:08:41 +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
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
Tshepang Mbambo 8cf3cc09b9
replace a broken sentence 2025-05-31 22:30:00 +02:00
Tshepang Mbambo eabc382733
suggest build/rust-analyzer instead of build-rust-analyzer
This is better because
- `./x clean` also removes it, without needing extra text to explain it
- Does not need an extra .gitignore entry
2025-05-31 22:21:04 +02:00
onur-ozkan 257e73f3a3 improve comments and docs
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30 21:04:14 +03:00
onur-ozkan 09eb3b3f78 update dev guidelines
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30 21:04:08 +03:00
onur-ozkan 19a333ad0f split `mingw-check` into two
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30 21:04:05 +03:00
许杰友 Jieyou Xu (Joe) 39644164b8
Merge pull request #2420 from rust-lang/aDotInTheVoid-patch-1
directives.md: Fix `//@ build_aux_docs` -> `//@ build-aux-docs`
2025-05-29 05:04:46 +08:00
Alona Enraght-Moony 655367d8b8 Fix some old `// <directive>` to `//@ <directive>` 2025-05-28 20:32:56 +01:00
Alona Enraght-Moony 812a949c11
directives.md: Fix `//@ build_aux_docs` -> `//@ build-aux-docs` 2025-05-28 20:18:56 +01:00
David Klank fa22636979
replace TraitRef link memory.md 2025-05-28 13:50:38 +03:00
Tshepang Mbambo 6da83f69ce
make link not inline 2025-05-27 21:21:18 +02:00
nora 568fbad863
Merge pull request #2417 from smanilov/patch-16
Make links in coinduction.md clickable
2025-05-27 18:53:29 +02:00
Stan Manilov e93a924d19 Make links in coinduction.md clickable
Although they are clickable in the github preview, they aren't in the actual rendered HTML on https://rustc-dev-guide.rust-lang.org/.

This commit fixes that.
2025-05-27 18:53:30 +03:00
Stan Manilov 01f8aee93b Link to description of opaque types 2025-05-27 18:50:31 +03:00
Tshepang Mbambo d90b7d7ac1
diagnostic translations work is on pause 2025-05-26 22:09:35 +02:00
Alona Enraght-Moony 482f61ad85
Remove rustdoc askama migration from getting started
This effort is blocked, so pointing new contributors here would be setting them up for failure.

https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/about.3A.20status.20of.20askama.20migration/with/497389045
2025-05-26 20:56:14 +01:00
Tshepang Mbambo e05b494faa
Merge pull request #2407 from smanilov/patch-14
Add time reference and tracking info for trait system refactor
2025-05-26 18:49:20 +02:00
Stan Manilov 03a857ec79 Add time reference and tracking info for trait system refactor 2025-05-26 15:43:07 +03:00
Stan Manilov a863290b9a
Link normalization chapter 2025-05-26 15:39:25 +03:00
León Orell Valerian Liehr 290bacb73e
Flesh out sections about crashes tests and update mentions of glacier 2025-05-26 13:54:49 +02:00
mejrs 0ca84c1313 Update `rustc_on_unimplemented` docs 2025-05-24 19:16:01 +02:00
Jakub Beránek cc3f2ebd73
Merge pull request #2405 from Kobzol/remove-mentions-of-rust-lang-ci
Remove mentions of rust-lang-ci/rust
2025-05-24 14:14:56 +02:00
Tshepang Mbambo f640f46968
typo 2025-05-24 01:38:43 +02:00
yukang c6f2047a55 Add LLVM link in appendix 2025-05-24 02:30:23 +08:00
nora 525b120d4e
Merge pull request #2404 from lolbinarycat/patch-1
rustdoc.md: reorder list so test suites are not split up
2025-05-23 18:56:05 +02:00
jyn b9f639a01a document why rustdoc cannot look at function bodies 2025-05-23 10:53:36 -04:00
Jakub Beránek 316e392131
Remove mentions of rust-lang-ci/rust
Now that CI has been finally migrated to `rust-lang/rust`.
2025-05-23 13:27:17 +02:00
lolbinarycat 677577571e
rustdoc.md: reorder list so test suites are not split up 2025-05-22 17:31:36 -05:00
Tshepang Mbambo eeafdb1de6 ~? annotation type is special
It does not do any line matching, so it should be separated from the other types.
2025-05-22 19:37:29 +02:00
Boxy 5d24aedfa5
Merge pull request #2400 from smanilov/patch-13
Make it clear we talk about early bound params
2025-05-20 16:36:21 +01:00
Boxy c693842a05
Merge pull request #2398 from smanilov/patch-12
Update links between ty-module and binders
2025-05-20 16:18:22 +01:00