about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2025-05-09Merge pull request #2376 from smanilov/patch-5Tshepang Mbambo-2/+2
Fix minor typo in rustdoc-internals.md
2025-05-09Fix minor typo in rustdoc-internals.mdStan Manilov-2/+2
2025-05-09Remove mono item collection strategy override from -Zprint-mono-itemsTomasz Miąsko-6/+2
Previously `-Zprint-mono-items` would override the mono item collection strategy. When debugging one doesn't want to change the behaviour, so this was counter productive. Additionally, the produced behaviour was artificial and might never arise without using the option in the first place (`-Zprint-mono-items=eager` without `-Clink-dead-code`). Finally, the option was incorrectly marked as `UNTRACKED`. Resolve those issues, by turning `-Zprint-mono-items` into a boolean flag that prints results of mono item collection without changing the behaviour of mono item collection. For codegen-units test incorporate `-Zprint-mono-items` flag directly into compiletest tool. Test changes are mechanical. `-Zprint-mono-items=lazy` was removed without additional changes, and `-Zprint-mono-items=eager` was turned into `-Clink-dead-code`. Linking dead code disables internalization, so tests have been updated accordingly.
2025-05-08Mention fast try builds in the rustc-dev-guideJakub Beránek-6/+10
2025-05-08Fix minor typo in installation.mdStan Manilov-1/+1
2025-05-08Remark test naming exceptionStan Manilov-0/+6
2025-05-08Fix minor typo in serialization.mdStan Manilov-1/+1
2025-05-08Merge from rustcThe rustc-dev-guide Cronjob Bot-4/+5
2025-05-08Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-05-07Rollup merge of #140234 - nnethercote:separate-Analysis-and-Results, r=davidtwcoGuillaume Gomez-2/+1
Separate dataflow analysis and results `Analysis` gets put into `Results` with `EntryStates`, by `iterate_to_fixpoint`. This has two problems: - `Results` is passed various places where only `Analysis` is needed. - `EntryStates` is passed around mutably everywhere even though it is immutable. This commit mostly separates `Analysis` from `Results` and fixes these two problems. r? `@davidtwco`
2025-05-06avoid duplicating commandsTshepang Mbambo-4/+5
The 2 commands do the same thing. Also, follow style used elsewhere in the guide.
2025-05-04compiletest: Support matching on non-json lines in compiler outputVadim Petrochenkov-2/+4
and migrate most of remaining `error-pattern`s to it.
2025-05-01add rdg push git config entry for git protocol pushersTshepang Mbambo-0/+10
2025-05-01Merge pull request #2367 from rust-lang/rustc-pullTshepang Mbambo-4/+4
Rustc pull update
2025-05-01adds commasMartin Ombura Jr.-2/+2
2025-05-01Merge from rustcThe rustc-dev-guide Cronjob Bot-3/+3
2025-05-01Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-05-01adds 'with' to help clarify how to build a new compilerMartin Ombura Jr.-2/+2
2025-04-30Merge pull request #2352 from xizheyin/enable-behind-upstream许杰友 Jieyou Xu (Joe)-0/+3
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``