about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
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
2022-06-13diagnostics: add translation documentationDavid Wood-246/+659
- Add documentation on translation infrastructure and use of `SessionSubdiagnostic`. - Update diagnostic examples on other pages to be translatable since this is preferred. Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-13diagnostics: line wrapping/heading changesDavid Wood-139/+143
Minor stylistic changes to some of the diagnostic documentation: adding line wrapping to the Markdown source and changing the capitalization of the headings to be consistent with other pages. Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-13later -> latterEdwin Rybarczyk-1/+1
2022-06-08Remove mention of -Zborrowck=mir with Polonius. (#1367)Eric Huss-1/+1
2022-06-08Remove nll compare mode. (#1366)Eric Huss-20/+18
2022-06-08add section on user types (#1359)lcnr-0/+54
* add section on user types * line length * review * Update src/borrow_check/type_check.md Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-06-08Make build scripts and proc macros work with the suggested rust-analyzer ↵Jonas Schievink-2/+9
config (#1365)
2022-06-07improve rustc_interface examples a little (#1362)Tshepang Mbambo-21/+35
2022-06-07Bump regex from 1.4.3 to 1.5.5 in /ci/date-check (#1364)dependabot[bot]-24/+10
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07Clarify cargo fallback behavior for rustup link (#1273)Andrew Dona-Couch -- GitHub drop ICE-0/+6
2022-05-30Update rustc-driver related examplesYuki Okushi-16/+19
2022-05-27Triage some date references related to traitsYuki Okushi-6/+7
2022-05-24Cleanup rustdoc-internalsYuki Okushi-25/+8
2022-05-24Fix some wording on the "Incremental Compilation In Detail" pageYuki Okushi-2/+2
2022-05-24Exclude `tomlee.co` from link-checking (#1356)Yuki Okushi-1/+12
https://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/ returns 404 on CI even though it's not actually 404. So, that doesn't return any useful result, let's ignore it. Also, formatted the exclude list for readability.
2022-05-21Add note about patching dependencies and warnings. (#1354)Eric Huss-0/+6
2022-05-20make sentence more simple (#1353)Tshepang Lekhonkhobe-1/+1
2022-05-17Update some links and docs (#1340)Yuki Okushi-25/+26
2022-05-16Replace a broken YouTube link (#1295)Yuki Okushi-3/+6
2022-05-16Edit the "Compiler Source Code" chapter (#1307)pierwill-23/+25
Co-authored-by: Noah Lev <camelidcamel@gmail.com> Co-authored-by: pierwill <pierwill@users.noreply.github.com> Co-authored-by: Yuki Okushi <jtitor@2k36.org>