about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
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
2022-07-03Add the config needed to get rust-analyzer working on src/bootstrap (#1381)Joshua Nelson-0/+4
2022-07-02Fix path to hir_id_validator.rsDaniel Xu-1/+1
It doesn't look like the old path ever existed.
2022-07-02leave formatOnSave to the user (#1380)Ralf Jung-2/+1
2022-06-28diagnostics: structs with new slug syntax (#1377)David Wood-21/+37
Update the documentation for diagnostic structs to use the new typed identifier syntax for referring to slugs. Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-27Few readability fixesEdwinRy-3/+3
2022-06-26humorust: Forbid pineapple on pizza (#1374)Alcaro-0/+1
2022-06-21not obvious what Ex is, so rather get rid (#1372)Tshepang Mbambo-2/+2
2022-06-21small improves (#1371)Tshepang Mbambo-9/+10
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-06-21make clear that other versions can work (#1373)Tshepang Mbambo-2/+2
2022-06-18Fix small `src/diagnostics.md` typo (#1370)Omer Tuchfeld-1/+1
2022-06-18Add an "is" and rearange "We next" to "Next, we" (#1369)Edwin-2/+2