Commit Graph

242 Commits

Author SHA1 Message Date
许杰友 Jieyou Xu (Joe) a58b85a26c rustc-dev-guide: document `BOOTSTRAP_TRACING` and bootstrap `tracing` setup 2025-01-13 13:46:20 +08:00
Boxy 885fd79971 Split stuff out of representing types, and rewrite early/late bound chapter (#2192) 2025-01-05 17:51:45 +01:00
Boxy c4737a8d01 Remove constants section as it is outdated 2024-11-22 11:17:57 +00:00
Boxy f71456b753 Flatten generic parameter defs section 2024-11-22 11:17:57 +00:00
Boxy 47a3a1d261 Reorganize the "Source Code Representation" chapters (#2142) 2024-11-21 20:28:23 +08:00
许杰友 Jieyou Xu (Joe) 65e7344ebb Mention `RUSTC_BOOTSTRAP` for misc testing (#2136) 2024-11-18 16:18:15 +08:00
许杰友 Jieyou Xu (Joe) a54fe7590c Describe `minicore` test auxiliary and directive (#2097) 2024-11-04 14:26:20 +08:00
Michael Goulet c21a829aab Async closures chapter 2024-11-02 15:27:40 +08:00
Juniper Tyree 58b2b24c1d Add the WASM | WASI | Emscripten notification groups (#2100) 2024-10-21 10:30:07 +08:00
Jakub Beránek e4eded33df Document `bootstrap` integration with `rustc-perf` (#2005) 2024-10-07 16:28:06 +08:00
许杰友 Jieyou Xu (Joe) 2b9274252f [Testing 1/2] Revise testing chapters excluding the directives chapter (#2088) 2024-10-07 10:39:22 +08:00
Tbkhi dabf6dabde doc edits 2024-09-24 20:46:07 +02:00
Tbkhi 1374a2ab4a improve rustc-driver.md
minor addition and adding links

Update rustc-driver.md

removing parens for functions

reorganized directory

reorganized directory

minor edits
2024-09-24 20:29:07 +02:00
Jonathan Dönszelmann 1239ad3da0 add section on overlap checks (#2042)
* add section on overlap checks

* fix some typos

* merge piece on overlap checks with docs about coherence (based on review comments)

* fix comments after discussion
2024-09-06 16:03:43 +02:00
xFrednet bacd3c57b1 Review comments <3 2024-08-07 20:32:37 -07:00
chj 2f8dd37f16 Improve doc of MIR queries & passes 2024-07-15 17:16:43 +02:00
Jakub Beránek 304f99d079 Add Rust for Linux integration tests documentation 2024-07-01 00:31:56 +02:00
Tyler Mandry a8837a54bd Add docs for building Fuchsia locally and in CI (#1989) 2024-06-28 23:12:08 +02:00
Aaron Hill f2000b880e Document inert vs active attributes (#1110)
* Document inert vs active attributes

This PR adds a subsection to the 'Syntax and AST' section describing
inert vs active attributes.

For consistency, I've also updated the '#[test] implementation' page to
stop referring to `#[test]' as a 'built in' attribute, since that has a
specific meaning defined on this page.

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>

* Update src/test-implementation.md

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>

* Update src/attributes.md

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>

* Update src/test-implementation.md

* Update src/test-implementation.md

* Update src/test-implementation.md

---------

Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2024-06-23 16:09:09 +02:00
Boxy 89536d8e5b Rewrite the "representing types" section to be more comprehensive 2024-05-31 01:27:28 +01:00
Boxy fa325b1081 Introduce chapter for defining generic parameters 2024-05-31 01:27:28 +01:00
Jakub Beránek b9e2e86bbb Add Rust for Linux notification group entry 2024-05-25 15:40:04 -07:00
Boxy f2754a4fa9 add a high level explanation, and remove a disclaimer (#1982) 2024-05-17 19:04:58 +02:00
Mads Marquart b07fb9546d Add Apple notification group (#1964) 2024-05-05 14:13:50 -04:00
Boxy 3c8a96562f Reorganise into subchapters and explain `Reveal` 2024-04-01 17:25:54 +01:00
Boxy 43f38ca174 Change location in guide 2024-04-01 17:25:54 +01:00
Nilstrieb cc608ba78e Add quickstart for how to build and run the compiler (#1951)
* Add quickstart for how to build and run the compiler

The chapter is quite long, and a lot of the information is, while
valuable, not very important for newcomers. I think it makes sense to
have a condensed version for anyone just wanting to get started with
only the most important information.

* A few improvements to quickstart
2024-03-31 06:23:21 +02:00
Ali MJ Al-Nasrawy b93095aade summary: opaque-types-region-inference-restrictions 2024-03-27 09:49:05 +01:00
León Orell Valerian Liehr efcb2806af Rename AstConv to HIR ty lowering 2024-03-23 08:44:42 +01:00
lcnr d53598ae3f add chapter to summary 2024-03-22 12:46:08 +01:00
许杰友 Jieyou Xu (Joe) 1d2ddcf7d1 Extract Bootstrap into its own section (#1939)
* Extract Bootstrap into its own section

Add brief explanation for `Step` and `Builder::ensure` as core
Bootstrap internal concepts.

* Drop common commands page (use `x --help` instead)

* Add `make` as an alternative entry point

* Add src/bootstrap/README.md link
2024-03-13 18:18:29 -03:00
lcnr e4fd19d73f next-solver: document caching (#1923) 2024-03-04 17:26:06 +01:00
lcnr 45a9ad1b94 opaque types in new solver (#1918)
* add opaque types doc

* summary
2024-03-01 13:11:55 +01:00
lcnr 76ba3342c2 add implied bounds doc (#1915)
* add implied bounds doc

* lazy type aliases also have explicit implied bounds
2024-02-29 10:46:28 +01:00
matthewjasper 93aeba6e75 Document unsafety checking (#1847)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-20 20:46:58 +09:00
Michael Howell eb008cbd1e Add guide for rustdoc search implementation (#1846) 2024-01-06 18:47:01 +01:00
Eric Huss cf99b58680 Move Editions chapter to "Contributing to Rust". (#1838) 2023-12-14 20:28:32 +09:00
Eric Huss f3d449b67f Add a chapter on editions. (#1835) 2023-12-12 16:42:10 -03:00
Charles Lew 10b168e2c7 Add back the `canonicalization` chapter. (#1532)
* Add back the `canonicalization` chapter.

* Add a `FIXME` about reorganizing contents.
2023-11-25 18:21:53 -03:00
Michael Goulet 88086cea77 Add link for unsize.md 2023-11-18 13:08:13 -08:00
Oli Scherer 2300d2ad31 Start a chapter about the evolving const effect system (#1808)
* Start a chapter about the evolving const effect system

* Address review comments
2023-10-18 19:35:15 +08:00
lcnr 72ff4f4045 update new trait solver docs (#1802)
* rewrite requirements/invariants

* add some more info about the trait solver

* CI

* review
2023-10-05 16:48:35 -03:00
Boxy 36eddefd1a add doc and move existing stuff around 2023-09-19 10:19:58 -07:00
Jakub Beránek 665bd2cdcc Add section about building an optimized version of `rustc` 2023-09-05 23:14:26 +02:00
Santiago Pastorino 5594a16f64 Add dropck documentation (#1767) 2023-08-18 23:13:31 +02:00
Santiago Pastorino 06205a1941 Add RPITIT documentation (#1764) 2023-08-03 18:21:23 -03:00
Boxy 0effe03071 split file and replace with deep dive doc 2023-07-11 16:43:01 -04:00
lcnr 6e253cdf6c add section for normalization with the new solver 2023-07-11 19:59:26 +01:00
jyn fa57b7b94e move the Breaking Changes section later in the guide 2023-06-29 10:05:10 -05:00
jyn 9618be3aa7 distinguish language and library processes more consistently 2023-06-29 10:05:10 -05:00