about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2022-08-09Add bootstrapping diagramNoah Lev-1/+19
This diagram is based on the diagram in Joshua Nelson's talk on bootstrapping at RustConf 2022 [1]. I converted it to Mermaid and made some tweaks to simplify it and bring it closer to bootstrap's terminology, and then Ralf Jung added nodes for copying artifacts. [1]: https://rustconf.com/schedule#bootstrapping-the-once-and-future-compiler Co-authored-by: Joshua Nelson <github@jyn.dev> Co-authored-by: Ralf Jung <post@ralfj.de>
2022-08-08date-check: rustc_codegen_ssa is still aliveTshepang Mbambo-1/+1
Latest reference on it I could find on zulip: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Cursed.3A.20no_core.20Add.20on.20primitive.20int.20returning.20Option.3C.3E/near/287514393
2022-08-08note is now too old to be relevantTshepang Mbambo-3/+0
2022-08-02date-check: be more strictTshepang Mbambo-2/+2
2022-08-02make date-check more lightweight (#1394)Tshepang Mbambo-77/+201
* make date-check lightweight This avoids having to write the date twice when updating date-check. Before "As of <-- 2022-07 --> July 2022" After "As of July 2022" * please clippy * update date-check docs * accept review suggestion Co-authored-by: Noah Lev <camelidcamel@gmail.com> * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557 * accept review suggestion Co-authored-by: Noah Lev <camelidcamel@gmail.com> * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261 * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017 * this breaks markdown * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268 This led to a more robust regex, though making the tool more picky. It also found a wrong date format that was missed. * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419 * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816 * accept review suggestion This was reverted by mistake Co-authored-by: Noah Lev <camelidcamel@gmail.com> * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395 * use a more simple fn * address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981 Much more clean * nit * accept review suggestion Co-authored-by: Noah Lev <camelidcamel@gmail.com> * avoid a failed regex Also, test new shape * adjust to new regex (which uses named groups) New regex was introduced by 456008cc35de0597d26fec0030ee5db8a0c2fb65 Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-07-31address review commentTshepang Mbambo-3/+2
https://github.com/rust-lang/rustc-dev-guide/pull/1402#discussion_r933905339
2022-07-31accept review suggestionTshepang Mbambo-1/+1
Co-authored-by: Joshua Nelson <github@jyn.dev>
2022-07-31try address review commentsTshepang Mbambo-4/+4
2022-07-31summary of chapterTshepang Mbambo-3/+2
2022-07-31Update src/building/compiler-documenting.mdTshepang Mbambo-1/+1
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-07-31revamp doc-build chapterTshepang Mbambo-39/+35
2022-07-30minor fixesTshepang Mbambo-5/+7
2022-07-29Prefer relative linksYuki Okushi-7/+7
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29Fix the link to clippy docsYuki Okushi-1/+1
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29Fix the link to `ResolverAstLowering`Yuki Okushi-2/+2
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29Fix the link to `ProcMacro` traitYuki Okushi-2/+2
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29Fix the link to `Lazy<T>`Yuki Okushi-8/+10
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29Add instructions to fix build errors in std after adding a new targetUrgau-0/+16
2022-07-26Document how to build a cross-compilerbstrie-4/+45
2022-07-26Add documentation about Microsoft provided debuggers and CodeView/PDB… (#1406)ridwanabdillahi-1/+35
Co-authored-by: Yuki Okushi <jtitor@2k36.org> Co-authored-by: Ridwan Abdilahi <riabdila@microsoft.com>
2022-07-25rust-analyzer is now a subtreeAmos Wenger-1/+2
It used to be a submodule. cf. https://github.com/rust-lang/rust/pull/99603
2022-07-21Debuginfo tests now also support revisions.Luqman Aden-3/+3
2022-07-19Link to rendered book directlyAmos Wenger-1/+1
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-07-19Fix link to clippy sync docsAmos Wenger-1/+1
2022-07-19remove stray markupTshepang Mbambo-2/+0
2022-07-19renamedTshepang Mbambo-1/+1
2022-07-19sync with hackmd versionTshepang Mbambo-87/+151
See https://hackmd.io/5t8pLdJcRDmqbfN9ZXje3g
2022-07-19replace misleading name (#1401)Tshepang Mbambo-2/+2
2022-07-18Remove a mention to Steve on r? exampleYuki Okushi-5/+3
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-17obey line length limit (part 3)Tshepang Mbambo-7/+20
2022-07-17obey line length limit (part 2)Tshepang Mbambo-1/+7
2022-07-17obey line length limitTshepang Mbambo-1/+4
2022-07-17sync with hackmdHackMD-7/+26
2022-07-17add draft chapterNiko Matsakis-0/+175
2022-07-17add mdbook-mermaidNiko Matsakis-1/+12
2022-07-17use relative linksTshepang Mbambo-43/+43
Used the following command, followed by some manual tweaking: sd 'https://rustc-dev-guide.rust-lang.org/(.+).html' '$1.md' (fd)
2022-07-17fix some typos (#1398)Tshepang Mbambo-6/+6
2022-07-16typo: monomorph docsdavidrusu-1/+1
2022-07-16Rename debugging_opts to unstable_opts, use link5225225-1/+2
2022-07-15address review commentTshepang Mbambo-2/+2
https://github.com/rust-lang/rustc-dev-guide/pull/1392#discussion_r921560851
2022-07-15update date reference on MIR inlinerTshepang Mbambo-2/+3
cc #1379
2022-07-15remove outdated info on debuggingTshepang Mbambo-74/+37
Closes #1391 Also, do some small fixes/improvements while at it.
2022-07-15small fixes to ty chapter (#1390)Tshepang Mbambo-11/+21
2022-07-11Update the build instructions for the standard libraryJoshua Nelson-43/+30
Since https://github.com/rust-lang/rust/pull/95503, `library/std` means "build just std and its dependencies"; to get the old behavior that built `proc_macro` and `test`, you need `x build library`. - Update `library/std` to `library` - Remove the `-i` suggestions; `incremental = true` is already the default for most profiles, in which case `-i` does nothing. If you don't have incremental enabled, I still think suggesting `-i` is bad idea, because it's easy to forget once, at which point you'll end up rebuilding the whole compiler / standard library. - Remove a few repetitive sections and don't discuss incremental in such detail Incremental works well enough that it should "just work" for most people; I don't think it needs multiple paragraphs of explanation so early in the guide. - Clarify that `test library/std` *only* tests libstd in a few places
2022-07-08overview.md: Link to existing Macro Expansion and Name Resolution docs (#1388)Martin Nordholts-2/+2
2022-07-07Git-ignore `pulls.json` (#1386)Yuki Okushi-0/+3
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-07Revert "Add the config needed to get rust-analyzer working on src/bootstrap ↵Santiago Pastorino-4/+0
(#1381)" This reverts commit d955bab63c229c3160e3023f44496ad93a81f3ab.
2022-07-06Use `x.py check` instead of `cargo check` for build scripts (#1384)Joshua Nelson-4/+3
Cargo check isn't supported and gives an error that CFG_CHANNEL is missing. It also generates a new target dir and recompiles dependencies. Use x.py instead, which avoids both issues.
2022-07-03Suggest a separate build directory for rust-analyzer (#1378)Joshua Nelson-0/+4
2022-07-03Change the old filename, "src/stage0.txt" to "src/stage0.json" (#1383)Yutaro Ohno-1/+1