about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2025-04-30Merge pull request #2359 from rust-lang/tshepang-repo-name许杰友 Jieyou Xu (Joe)-1/+1
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-3/+3
2025-04-29for a more friendly outputTshepang Mbambo-2/+6
Also, these are normal Rust things (crates/packages), so remove the word *normal*.
2025-04-29Merge pull request #2363 from smanilov/patch-1Tshepang Mbambo-13/+12
Update compiler-src.md
2025-04-29Merge PR #2360: Add docs about stabilizing an editionTravis Cross-0/+54
2025-04-29Fix footnotesBoxy-12/+12
2025-04-29Merge pull request #2266 from BoxyUwU/normalizationlcnr-129/+311
Introduce a normalization chapter
2025-04-29Introduce a normalization chapterBoxy-129/+311
2025-04-29Update compiler-src.mdStan Manilov-13/+12
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-28Add documentation on how to stabilize the compiler editionEric Huss-0/+19
This adds documentation on how to stabilize the edition in the compiler.
2025-04-28Update mdbook to 0.4.48Eric Huss-1/+1
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-28Add documentation on how to migration the edition of the standard libraryEric Huss-0/+18
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-28Add an example of the example of an edition migration lintEric Huss-0/+17
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-28use repo name in push pr titleTshepang Mbambo-1/+1
I found "Rustc dev guide subtree update awkward"
2025-04-28Merge from rustcThe rustc-dev-guide Cronjob Bot-7/+19
2025-04-28Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-04-27Merge pull request #2351 from rust-lang/rustc-pullYuki Okushi-1/+1
2025-04-26replace command that does not workTshepang Mbambo-3/+6
2025-04-26copy-paste easeTshepang Mbambo-1/+1
2025-04-26use correct code block markersTshepang Mbambo-24/+24
2025-04-26Merge pull request #2343 from hwhsu1231-fork/fix-prefix-chapterTshepang Mbambo-0/+5
fix(docs): add newlines between prefix/suffix chapters
2025-04-26Merge pull request #2345 from rust-lang/extraneousTshepang Mbambo-3/+3
toolchain version does not need to be specified
2025-04-25typoTshepang Mbambo-2/+2
2025-04-25Enable [behind-upstream] triagebot optionxizheyin-0/+3
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-04-24Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-04-24Separate `Analysis` and `Results`.Nicholas Nethercote-2/+1
`Results` contains and `Analysis` and an `EntryStates`. The unfortunate thing about this is that the analysis needs to be mutable everywhere (`&mut Analysis`) which forces the `Results` to be mutable everywhere, even though `EntryStates` is immutable everywhere. To fix this, this commit renames `Results` as `AnalysisAndResults`, renames `EntryStates` as `Results`, and separates the analysis and results as much as possible. (`AnalysisAndResults` doesn't get much use, it's mostly there to facilitate method chaining of `iterate_to_fixpoint`.) `Results` is immutable everywhere, which: - is a bit clearer on how the data is used, - avoids an unnecessary clone of entry states in `locals_live_across_suspend_points`, and - moves the results outside the `RefCell` in Formatter. The commit also reformulates `ResultsHandle` as the generic `CowMut`, which is simpler than `ResultsHandle` because it doesn't need the `'tcx` lifetime and the trait bounds. It also which sits nicely alongside the new use of `Cow` in `ResultsCursor`.
2025-04-23rustc-dev-guide: document that `//@ add-core-stubs` imply ↵Jieyou Xu-7/+19
`-Cforce-unwind-tables=yes`
2025-04-22update build and test instructionsManuel Drehwald-5/+7
2025-04-21Merge from rustcThe rustc-dev-guide Cronjob Bot-0/+37
2025-04-21Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-04-20Rollup merge of #140044 - tshepang:rdg-push, r=jieyouxuChris Denton-111/+517
rustc-dev-guide subtree update r? ``@ghost``
2025-04-19improve readability by adding pausesTshepang Mbambo-4/+4
2025-04-19fix grammarTshepang Mbambo-1/+1
2025-04-19needed a stronger pauseTshepang Mbambo-1/+2
2025-04-19Rollup merge of #138934 - onur-ozkan:extended-config-profiles, r=KobzolChris Denton-0/+37
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-19Merge pull request #2346 from folkertdev/bootstrap-in-dependencies许杰友 Jieyou Xu (Joe)-0/+54
2025-04-19document `#[cfg(bootstrap)]` in dependenciesFolkert de Vries-0/+54
2025-04-19fix broken linkTshepang Mbambo-1/+1
2025-04-19Merge from rustcThe rustc-dev-guide Cronjob Bot-59/+91
2025-04-19Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-04-19toolchain version does not need to be specifiedTshepang Mbambo-3/+3
- 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-19readme: be copy-paste friendlyTshepang Mbambo-7/+7
2025-04-18fix(docs): add newlines between prefix/suffix chaptersHaowei Hsu-0/+5
add newlines between prefix/suffix chapters in SUMMARY.md to ensure correct extraction by mdbook-i18n-helpers.
2025-04-17upstream autodiff build instructionsManuel Drehwald-0/+87
2025-04-17rustc-dev-guide: document `//@ ignore-auxiliary`Jieyou Xu-0/+5
2025-04-17Merge pull request #2339 from rust-lang/autodiff-docs许杰友 Jieyou Xu (Joe)-0/+214
2025-04-17add a first version of autodiff docsManuel Drehwald-0/+214
2025-04-17Rollup merge of #139770 - nnethercote:rename-LifetimeName, r=BoxyUwUMatthias Krüger-4/+4
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-16Merge pull request #2337 from xizheyin/sync-codeJakub Beránek-0/+14
Remind to update dev branch while behind too many commits
2025-04-16Remind to update dev branch while behind too many commitsxizheyin-0/+14
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>