Commit graph

2872 commits

Author SHA1 Message Date
许杰友 Jieyou Xu (Joe)
b1c86935cd
Merge pull request #2359 from rust-lang/tshepang-repo-name 2025-04-30 18:41:49 +08:00
Tshepang Mbambo
48bbf5a91b
for a more friendly output
Also, these are normal Rust things (crates/packages), so remove the word *normal*.
2025-04-29 23:39:06 +02:00
Tshepang Mbambo
029a2c4746
Merge pull request #2363 from smanilov/patch-1
Update compiler-src.md
2025-04-29 23:01:31 +02:00
Travis Cross
c7eeeb1263 Merge PR #2360: Add docs about stabilizing an edition 2025-04-29 19:09:46 +00:00
Boxy
7f1ae9b8c0 Fix footnotes 2025-04-29 19:35:26 +01:00
lcnr
fcec80ab24
Merge pull request #2266 from BoxyUwU/normalization
Introduce a normalization chapter
2025-04-29 20:19:27 +02:00
Boxy
e2fb99c97e Introduce a normalization chapter 2025-04-29 19:08:55 +01:00
Stan Manilov
c466cd01d8
Update compiler-src.md
Refactor the dependency structure from a nested unordered list to a single-level ordered list.

IMO, this is clearer, but happy to close this PR without merging, if the change is not desired.
2025-04-29 16:39:54 +03:00
Eric Huss
50500376b3 Add documentation on how to stabilize the compiler edition
This adds documentation on how to stabilize the edition in the compiler.
2025-04-28 14:53:36 -07:00
Eric Huss
0aae3caf24 Update mdbook to 0.4.48
This updates to the latest version of mdbook which has had a variety
of fixes of new features since the last update.

Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0448
2025-04-28 11:41:17 -07:00
Eric Huss
b0e675bc52 Add documentation on how to migration the edition of the standard library
Based on lessons learned from 2024. There's probably still more details
to say here since it was a ton of work. These are the major points that
I remember.
2025-04-28 11:30:33 -07:00
Eric Huss
3d23917b2d Add an example of the example of an edition migration lint
It was observed that some people were missing the `edition20xx` rustdoc
attribute. Although this probably won't solve that problem, I'd still
like to highlight it as something to be aware of.
2025-04-28 11:29:42 -07:00
Tshepang Mbambo
451d73fbe2 use repo name in push pr title
I found "Rustc dev guide subtree update awkward"
2025-04-28 06:49:13 +02:00
The rustc-dev-guide Cronjob Bot
aa15830ee2 Merge from rustc 2025-04-28 04:02:54 +00:00
The rustc-dev-guide Cronjob Bot
de491f9b78 Preparing for merge from rustc 2025-04-28 04:02:47 +00:00
Yuki Okushi
d91ffb6da5
Merge pull request #2351 from rust-lang/rustc-pull 2025-04-27 18:53:00 +09:00
Tshepang Mbambo
9c4d568cfc
replace command that does not work 2025-04-26 15:34:43 +02:00
Tshepang Mbambo
9eeadbf096
copy-paste ease 2025-04-26 15:18:36 +02:00
Tshepang Mbambo
79faff2b9b use correct code block markers 2025-04-26 15:09:05 +02:00
Tshepang Mbambo
3945ae9d72
Merge pull request #2343 from hwhsu1231-fork/fix-prefix-chapter
fix(docs): add newlines between prefix/suffix chapters
2025-04-26 14:47:39 +02:00
Tshepang Mbambo
7a70f336cc
Merge pull request #2345 from rust-lang/extraneous
toolchain version does not need to be specified
2025-04-26 13:42:45 +02:00
Tshepang Mbambo
ba6dd90615
typo 2025-04-25 18:32:43 +02:00
The rustc-dev-guide Cronjob Bot
745500fbc5 Preparing for merge from rustc 2025-04-24 04:02:49 +00:00
Jieyou Xu
f2ab763c20
rustc-dev-guide: document that //@ add-core-stubs imply -Cforce-unwind-tables=yes 2025-04-23 17:18:20 +08:00
Manuel Drehwald
e9896ccc1e update build and test instructions 2025-04-22 01:16:04 -04:00
The rustc-dev-guide Cronjob Bot
d12c1f581f Merge from rustc 2025-04-21 04:03:09 +00:00
The rustc-dev-guide Cronjob Bot
49b62eeacc Preparing for merge from rustc 2025-04-21 04:03:02 +00:00
Chris Denton
67539cee69
Rollup merge of #140044 - tshepang:rdg-push, r=jieyouxu
rustc-dev-guide subtree update

r? ``@ghost``
2025-04-20 13:02:49 +00:00
Tshepang Mbambo
48612702d9 improve readability by adding pauses 2025-04-19 17:58:12 +02:00
Tshepang Mbambo
d09b3c75de fix grammar 2025-04-19 17:58:12 +02:00
Tshepang Mbambo
6be60e83b5 needed a stronger pause 2025-04-19 17:51:41 +02:00
Chris Denton
237064a0c4
Rollup merge of #138934 - onur-ozkan:extended-config-profiles, r=Kobzol
support config extensions

_Copied from the `rustc-dev-guide` addition:_

>When working on different tasks, you might need to switch between different bootstrap >configurations.
>Sometimes you may want to keep an old configuration for future use. But saving raw config >values in
>random files and manually copying and pasting them can quickly become messy, especially if >you have a
>long history of different configurations.
>
>To simplify managing multiple configurations, you can create config extensions.
>
>For example, you can create a simple config file named `cross.toml`:
>
>```toml
>[build]
>build = "x86_64-unknown-linux-gnu"
>host = ["i686-unknown-linux-gnu"]
>target = ["i686-unknown-linux-gnu"]
>
>
>[llvm]
>download-ci-llvm = false
>
>[target.x86_64-unknown-linux-gnu]
>llvm-config = "/path/to/llvm-19/bin/llvm-config"
>```
>
>Then, include this in your `bootstrap.toml`:
>
>```toml
>include = ["cross.toml"]
>```
>
>You can also include extensions within extensions recursively.
>
>**Note:** In the `include` field, the overriding logic follows a right-to-left order. For example,
in `include = ["a.toml", "b.toml"]`, extension `b.toml` overrides `a.toml`. Also, parent extensions
always overrides the inner ones.

try-job: x86_64-mingw-2
2025-04-19 15:09:32 +00:00
许杰友 Jieyou Xu (Joe)
976d13fe49
Merge pull request #2346 from folkertdev/bootstrap-in-dependencies 2025-04-19 22:13:41 +08:00
Folkert de Vries
1ab497b3f4
document #[cfg(bootstrap)] in dependencies 2025-04-19 16:09:18 +02:00
Tshepang Mbambo
07b7f00a9e fix broken link 2025-04-19 16:04:22 +02:00
The rustc-dev-guide Cronjob Bot
3b2302ec0d Merge from rustc 2025-04-19 13:53:12 +00:00
The rustc-dev-guide Cronjob Bot
a0c64dce0d Preparing for merge from rustc 2025-04-19 13:53:05 +00:00
Tshepang Mbambo
1b5f2aa2a7 toolchain version does not need to be specified
- Rust backcompat removes the need to specify the version here
- Using these commands can result in a needless toolchain getting
  downloaded, like in the case where user only has Nightly installed
2025-04-19 13:34:13 +02:00
Tshepang Mbambo
311ef44dca
readme: be copy-paste friendly 2025-04-19 13:08:43 +02:00
Haowei Hsu
399cf1f37e fix(docs): add newlines between prefix/suffix chapters
add newlines between prefix/suffix chapters in SUMMARY.md
to ensure correct extraction by mdbook-i18n-helpers.
2025-04-18 18:49:34 +08:00
Manuel Drehwald
834dbf565c upstream autodiff build instructions 2025-04-17 20:52:07 -04:00
Jieyou Xu
6bbee334fd
rustc-dev-guide: document //@ ignore-auxiliary 2025-04-17 18:52:57 +08:00
许杰友 Jieyou Xu (Joe)
35a3c3bfd5
Merge pull request #2339 from rust-lang/autodiff-docs 2025-04-17 14:03:30 +08:00
Manuel Drehwald
1236dcb9ce
add a first version of autodiff docs 2025-04-17 14:01:05 +08:00
Matthias Krüger
8e5df28a6a
Rollup merge of #139770 - nnethercote:rename-LifetimeName, r=BoxyUwU
Rename `LifetimeName` as `LifetimeKind`.

It's a much better name, more consistent with how we name such things.

Also rename `Lifetime::res` as `Lifetime::kind` to match. I suspect this field used to have the type `LifetimeRes` and then the type was changed but the field name remained the same.

r? ``@BoxyUwU``
2025-04-17 00:14:26 +02:00
Jakub Beránek
a9bcdb0ca1
Merge pull request #2337 from xizheyin/sync-code
Remind to update dev branch while behind too many commits
2025-04-16 07:36:00 +02:00
xizheyin
855ecf9a96
Remind to update dev branch while behind too many commits
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-04-16 13:09:29 +08:00
Nicholas Nethercote
62882f355e Improve borrowck_graphviz_* documentation.
In particular, `borrowck_graphviz_preflow` no longer exists.
2025-04-16 08:57:15 +10:00
Nicholas Nethercote
fe882bf330 Rename LifetimeName as LifetimeKind.
It's a much better name, more consistent with how we name such things.

Also rename `Lifetime::res` as `Lifetime::kind` to match. I suspect this
field used to have the type `LifetimeRes` and then the type was changed
but the field name remained the same.
2025-04-16 07:16:40 +10:00
onur-ozkan
78cb4538ee document include in bootstrap.example.toml
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-04-15 11:33:06 +03:00