about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2022-04-11Update examples with 1.61.0-nightly (latest version) (#1330)Ujjawal-10/+9
Co-authored-by: Ujjawal Kumar <u.kumar@ukumar-ltmit1s.internal.salesforce.com>
2022-04-09r-a: Use `python3 x.py` instead of `./x.py` (#1335)Noah Lev-2/+3
2022-04-06Update miri.md: correct a minor typo (#1334)Hongbo-1/+1
2022-04-04Add example how lints can be feature gatedxFrednet-0/+14
2022-03-22update section for type system constants (#1329)lcnr-20/+29
* update section for type system constants * Update src/constants.md
2022-03-14update winget install instructions to ensure proper packages are installed ↵skippy10110-2/+2
(-e for --exact, and full package names to ensure arbitrary packages from the msstore source aren't installed) fixes #1324
2022-03-09Add missing rustdoc tests explanationsGuillaume Gomez-6/+9
2022-03-02Fix incorrectly escaped backtickChayim Refael Friedman-2/+2
2022-03-01Add architecture suggestion for Apple silicon (#1320)James Cole-1/+1
2022-02-27cargo timings has been stabilized (#1319)Eric Huss-3/+3
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2022-02-24Add known-bug header. (#1311)Eric Huss-0/+17
2022-02-24Fix typo (#1315)Téo Bouvard-1/+1
2022-02-22Typo (#1313)Samuel Moelius-2/+2
2022-02-20instrument-coverage has been stabilized.Eric Huss-10/+9
2022-02-20symbol-mangling-version has been stabilizedEric Huss-1/+1
2022-02-20Fix `Ty` link (#1308)pierwill-3/+3
2022-02-17Edit glossary (#1302)pierwill-4/+4
Add back-ticks to a few terms that appear in code. Clarify that `tcx` is a standard.
2022-02-17Fix heading levels in the query chapter (#1305)Noah Lev-7/+7
This should fix the incorrect TOC rendering in #1303.
2022-02-17Fix linkpierwill-1/+1
2022-02-17Edit "Queries" chapter (#1301)pierwill-40/+45
Makes various edits for clarity, style, readability, and formatting. Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-02-17Link to The Rust Performance Book (#1300)pierwill-0/+4
2022-02-11Correction, building stage3 compiler (#1298)Raoul Strackx-1/+1
2022-02-10Triage some date references (#1293)Yuki Okushi-12/+12
2022-02-05mention test folders for cfg(bootstrap) (#1294)Manish Goregaokar-1/+2
2022-01-26git.md: Expanded a note to try to stress what you need to do if you're playingFelix S. Klock II-2/+7
games with submodules. (I overlooked this when cherry-picking an LLVM commit today, and wasted some time wondering why I wasn't seeing any effect in my resulting `rustc` build...)
2022-01-20Clarify that r? works in comments.Ivor Wanders-1/+1
2022-01-18Reorganize and expand the testing chapters. (#1281)Eric Huss-1100/+2055
* Reorganize and expand the testing chapters. * Update tests chapters for review comments. * Fix typo.
2022-01-18Add inline assembly internals (#1266)Amanieu d'Antras-0/+368
2022-01-18Spelling: Rename `rust` to `Rust` (#1288)Georgiy Komarov-35/+35
2022-01-18Clean up section about FCPs (#1287)Noah Lev-23/+20
* I've never heard the term "pFCP" used before, so spell it out as "proposed final comment period" * Fix some unclear things (like implying that you need `r+` rights to start an FCP) * Improve the chapter's title, and make it consistent with its TOC entry * Make some other assorted minor cleanups and improvements
2022-01-05Address more review comments in #1286.Nicholas Nethercote-2/+2
2022-01-05Address review comments in #1286.Nicholas Nethercote-10/+4
2022-01-05Streamline "Getting Started" some more.Nicholas Nethercote-182/+58
This is a follow-up to #1279. The "Getting Started" chapter is, TBH, pretty bad when it comes to the stuff about building and testing. It has far too much detail and lots of repetition, which would be overwhelming to a newcomer. This commit removes most of it, leaving behind just quick mentions of the most common `x.py` commands: `check`, `build`, `test`, `fmt`, with links to the appropriate chapters for details. There were a few interesting details that weren't covered elsewhere, so I moved those into other chapters.
2021-12-28Update link to moved section (#1282)Noah Lev-1/+1
The section was removed in #1030 and re-added in a different place in 2d42cf7.
2021-12-27Fix link in contributing.md (#1280)Ben Reeves-2/+2
2021-12-24Streamline "Getting Started" (#1279)Nicholas Nethercote-138/+89
* Move `x.py` intro section before first use, and shorten it. * Improve `x.py setup` docs. In "Getting Started", strip it back to the bare minimum. Some of this is moved into the later section. In the later section, add notable details like config.toml.example how and `profile` works. Also make the config.toml example more concise. * Move details about the repository. Less detail in "Getting Started", more in the later sections. * Move details about the prereqs. Less detail in "Getting Started", more in the later sections.
2021-12-20remove rustfix item in test intro (#1277)Wang Qilin-3/+0
2021-12-15Move date-check comment to fix Markdown syntaxNoah Lev-2/+2
The inline code wasn't being rendered correctly.
2021-12-15Update humor docs for special-casing ferris emojiMaxwell Elliot Heiber-0/+1
update for: https://github.com/rust-lang/rust/pull/91476/files
2021-12-13Fix some broken links (#1274)Badel2-2/+2
2021-12-09Update rustdoc internalsJacob Hoffman-Andrews-10/+121
Use current paths when discussing source files. Update cheat sheet section with download-rustc. Add "use cases" section.
2021-12-09Update HIR chapter to use `HirId` instead of `NodeId`Noah Lev-12/+7
`NodeId`s are no longer used in the HIR. See #50928 for more information.
2021-12-09Fix some broken linksNoah Lev-3/+3
2021-12-09Update src/getting-started.mdLucas Kent-1/+1
Co-authored-by: Joshua Nelson <github@jyn.dev>
2021-12-09Improve documentation on r?Lucas Kent-8/+23
2021-12-03Update LLVM coverage mapping format version supported by rustc (#1267)Rich Kadel-11/+9
rust-lang/rust#91207 updates the coverage mapping format to Version 5 or 6, depending on the built-in version of LLVM (12 or 13, respectively). This change updates the dev guide to match the recent changes.
2021-11-27Improve 'Running tests manually' sectionLucas Kent-2/+9
2021-11-24Fix some linksYuki Okushi-5/+4
2021-11-24Update for review comments.Eric Huss-4/+9
2021-11-24Document rustfix-only-machine-applicableEric Huss-0/+5