]> git.proxmox.com Git - rustc.git/blame - src/doc/rustc-dev-guide/src/SUMMARY.md
New upstream version 1.56.0+dfsg1
[rustc.git] / src / doc / rustc-dev-guide / src / SUMMARY.md
CommitLineData
a1dfa0c6
XL
1# Summary
2
532ac7d7
XL
3[About this guide](./about-this-guide.md)
4
6a06907d
XL
5[Getting Started](./getting-started.md)
6
532ac7d7
XL
7---
8
6a06907d
XL
9# Building and debugging `rustc`
10
11- [How to Build and Run the Compiler](./building/how-to-build-and-run.md)
12 - [Prerequisites](./building/prerequisites.md)
13 - [Suggested Workflows](./building/suggested.md)
14 - [Distribution artifacts](./building/build-install-distribution-artifacts.md)
15 - [Documenting Compiler](./building/compiler-documenting.md)
16 - [Rustdoc overview](./rustdoc.md)
17 - [ctags](./building/ctags.md)
18 - [Adding a new target](./building/new-target.md)
19- [The compiler testing framework](./tests/intro.md)
20 - [Running tests](./tests/running.md)
21 - [Adding new tests](./tests/adding.md)
22 - [Using `compiletest` commands to control test execution](./compiletest.md)
23- [Debugging the Compiler](./compiler-debugging.md)
24- [Profiling the compiler](./profiling.md)
25 - [with the linux perf tool](./profiling/with_perf.md)
26 - [with Windows Performance Analyzer](./profiling/wpa_profiling.md)
27- [crates.io Dependencies](./crates-io.md)
28
29
30# Contributing to Rust
31
32- [Introduction](./contributing.md)
33- [About the compiler team](./compiler-team.md)
34- [Using Git](./git.md)
35- [Mastering @rustbot](./rustbot.md)
36- [Walkthrough: a typical contribution](./walkthrough.md)
37- [Bug Fix Procedure](./bug-fix-procedure.md)
38- [Implementing new features](./implementing_new_features.md)
39- [Stability attributes](./stability.md)
40- [Stabilizing Features](./stabilization_guide.md)
41- [Feature Gates](./feature-gates.md)
42- [Coding conventions](./conventions.md)
43- [Notification groups](notification-groups/about.md)
44 - [ARM](notification-groups/arm.md)
45 - [Cleanup Crew](notification-groups/cleanup-crew.md)
46 - [LLVM](notification-groups/llvm.md)
47 - [RISC-V](notification-groups/risc-v.md)
48 - [Windows](notification-groups/windows.md)
49- [Licenses](./licenses.md)
50
51# High-level Compiler Architecture
52
53- [Prologue](./part-2-intro.md)
54- [Overview of the Compiler](./overview.md)
55- [The compiler source code](./compiler-src.md)
56- [Bootstrapping](./building/bootstrapping.md)
57- [Queries: demand-driven compilation](./query.md)
58 - [The Query Evaluation Model in Detail](./queries/query-evaluation-model-in-detail.md)
59 - [Incremental compilation](./queries/incremental-compilation.md)
60 - [Incremental compilation In Detail](./queries/incremental-compilation-in-detail.md)
61 - [Debugging and Testing](./incrcomp-debugging.md)
6a06907d
XL
62 - [Salsa](./salsa.md)
63- [Memory Management in Rustc](./memory.md)
64- [Serialization in Rustc](./serialization.md)
65- [Parallel Compilation](./parallel-rustc.md)
66- [Rustdoc internals](./rustdoc-internals.md)
67
68# Source Code Representation
69
70- [Prologue](./part-3-intro.md)
71- [Command-line arguments](./cli.md)
72- [The Rustc Driver and Interface](./rustc-driver.md)
73 - [Ex: Type checking through `rustc_interface`](./rustc-driver-interacting-with-the-ast.md)
74 - [Ex: Getting diagnostics through `rustc_interface`](./rustc-driver-getting-diagnostics.md)
75- [Syntax and the AST](./syntax-intro.md)
76 - [Lexing and Parsing](./the-parser.md)
77 - [Macro expansion](./macro-expansion.md)
78 - [Name resolution](./name-resolution.md)
79 - [`#[test]` Implementation](./test-implementation.md)
80 - [Panic Implementation](./panic-implementation.md)
81 - [AST Validation](./ast-validation.md)
82 - [Feature Gate Checking](./feature-gate-ck.md)
136023e0 83 - [Lang Items](./lang-items.md)
6a06907d
XL
84- [The HIR (High-level IR)](./hir.md)
85 - [Lowering AST to HIR](./lowering.md)
86 - [Debugging](./hir-debugging.md)
87- [The THIR (Typed High-level IR)](./thir.md)
88- [The MIR (Mid-level IR)](./mir/index.md)
89 - [MIR construction](./mir/construction.md)
90 - [MIR visitor and traversal](./mir/visitor.md)
91 - [MIR passes: getting the MIR for a function](./mir/passes.md)
92- [Identifiers in the Compiler](./identifiers.md)
93- [Closure expansion](./closure.md)
94
95# Analysis
96
97- [Prologue](./part-4-intro.md)
98- [The `ty` module: representing types](./ty.md)
99 - [Generics and substitutions](./generics.md)
100 - [`TypeFolder` and `TypeFoldable`](./ty-fold.md)
101 - [Generic arguments](./generic_arguments.md)
102- [Type inference](./type-inference.md)
103- [Trait solving](./traits/resolution.md)
104 - [Early and Late Bound Parameters](./early-late-bound.md)
105 - [Higher-ranked trait bounds](./traits/hrtb.md)
106 - [Caching subtleties](./traits/caching.md)
107 - [Specialization](./traits/specialization.md)
108 - [Chalk-based trait solving](./traits/chalk.md)
dc9dc135 109 - [Lowering to logic](./traits/lowering-to-logic.md)
6a06907d 110 - [Goals and clauses](./traits/goals-and-clauses.md)
dc9dc135 111 - [Canonical queries](./traits/canonical-queries.md)
6a06907d
XL
112- [Type checking](./type-checking.md)
113 - [Method Lookup](./method-lookup.md)
114 - [Variance](./variance.md)
115 - [Opaque Types](./opaque-types-type-alias-impl-trait.md)
116- [Pattern and Exhaustiveness Checking](./pat-exhaustive-checking.md)
117- [MIR dataflow](./mir/dataflow.md)
118- [The borrow checker](./borrow_check.md)
119 - [Tracking moves and initialization](./borrow_check/moves_and_initialization.md)
120 - [Move paths](./borrow_check/moves_and_initialization/move_paths.md)
121 - [MIR type checker](./borrow_check/type_check.md)
122 - [Region inference](./borrow_check/region_inference.md)
123 - [Constraint propagation](./borrow_check/region_inference/constraint_propagation.md)
124 - [Lifetime parameters](./borrow_check/region_inference/lifetime_parameters.md)
125 - [Member constraints](./borrow_check/region_inference/member_constraints.md)
126 - [Placeholders and universes][pau]
127 - [Closure constraints](./borrow_check/region_inference/closure_constraints.md)
128 - [Error reporting](./borrow_check/region_inference/error_reporting.md)
129 - [Two-phase-borrows](./borrow_check/two_phase_borrows.md)
130- [Parameter Environments](./param_env.md)
131- [Errors and Lints](diagnostics.md)
132 - [Creating Errors With SessionDiagnostic](./diagnostics/sessiondiagnostic.md)
133 - [`LintStore`](./diagnostics/lintstore.md)
134 - [Diagnostic Codes](./diagnostics/diagnostic-codes.md)
135
136# MIR to Binaries
137
138- [Prologue](./part-5-intro.md)
139- [MIR optimizations](./mir/optimizations.md)
140- [Debugging](./mir/debugging.md)
141- [Constant evaluation](./const-eval.md)
142 - [miri const evaluator](./miri.md)
143- [Monomorphization](./backend/monomorph.md)
144- [Lowering MIR](./backend/lowering-mir.md)
145- [Code Generation](./backend/codegen.md)
146 - [Updating LLVM](./backend/updating-llvm.md)
147 - [Debugging LLVM](./backend/debugging.md)
148 - [Backend Agnostic Codegen](./backend/backend-agnostic.md)
149 - [Implicit Caller Location](./backend/implicit-caller-location.md)
150- [Libraries and Metadata](./backend/libs-and-metadata.md)
151- [Profile-guided Optimization](./profile-guided-optimization.md)
152- [LLVM Source-Based Code Coverage](./llvm-coverage-instrumentation.md)
153- [Sanitizers Support](./sanitizers.md)
154- [Debugging Support in the Rust Compiler](./debugging-support-in-rustc.md)
a1dfa0c6
XL
155
156---
157
6a06907d 158[Appendix A: Background topics](./appendix/background.md)
ba9703b0
XL
159[Appendix B: Glossary](./appendix/glossary.md)
160[Appendix C: Code Index](./appendix/code-index.md)
161[Appendix D: Compiler Lecture Series](./appendix/compiler-lecture.md)
162[Appendix E: Bibliography](./appendix/bibliography.md)
416331ca
XL
163
164[Appendix Z: HumorRust](./appendix/humorust.md)
165
166---
167
dc9dc135 168[pau]: ./borrow_check/region_inference/placeholders_and_universes.md