Skip to content

Commit 1a0f88b

Browse files
committed
upgrade to mdbook 0.4 and switch to book parts
1 parent 917f7ef commit 1a0f88b

File tree

3 files changed

+133
-128
lines changed

3 files changed

+133
-128
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ before_install:
1111
- MAX_LINE_LENGTH=100 bash ci/check_line_lengths.sh src/**/*.md
1212
install:
1313
- source ~/.cargo/env || true
14-
- cargo install mdbook --version 0.3.7
14+
- cargo install mdbook --version 0.4.0
1515
- cargo install mdbook-linkcheck --version 0.5.0
1616
script:
1717
- git checkout -b ci

src/SUMMARY.md

Lines changed: 132 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -4,127 +4,139 @@
44

55
---
66

7-
- [Part 1: Building, debugging, and contributing to Rustc](./part-1-intro.md)
7+
# Building and debugging `rustc`
8+
9+
- [Getting Started](./getting-started.md)
10+
- [How to Build and Run the Compiler](./building/how-to-build-and-run.md)
811
- [Prerequisites](./building/prerequisites.md)
9-
- [Getting Started](./getting-started.md)
10-
- [About the compiler team](./compiler-team.md)
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-
- [Bootstrapping](./building/bootstrapping.md)
15-
- [Distribution artifacts](./building/build-install-distribution-artifacts.md)
16-
- [Documenting Compiler](./building/compiler-documenting.md)
17-
- [ctags](./building/ctags.md)
18-
- [The compiler testing framework](./tests/intro.md)
19-
- [Running tests](./tests/running.md)
20-
- [Adding new tests](./tests/adding.md)
21-
- [Using `compiletest` + commands to control test execution](./compiletest.md)
22-
- [Walkthrough: a typical contribution](./walkthrough.md)
23-
- [Bug Fix Procedure](./bug-fix-procedure.md)
24-
- [Implementing new features](./implementing_new_features.md)
25-
- [Stability attributes](./stability.md)
26-
- [Stabilizing Features](./stabilization_guide.md)
27-
- [Debugging the Compiler](./compiler-debugging.md)
28-
- [Profiling the compiler](./profiling.md)
29-
- [with the linux perf tool](./profiling/with_perf.md)
30-
- [Coding conventions](./conventions.md)
31-
- [crates.io Dependencies](./crates-io.md)
32-
- [Errors and Lints](diagnostics.md)
33-
- [`LintStore`](./diagnostics/lintstore.md)
34-
- [Diagnostic Codes](./diagnostics/diagnostic-codes.md)
35-
- [Notification groups](notification-groups/about.md)
36-
- ["Cleanup Crew"](notification-groups/cleanup-crew.md)
37-
- [LLVM](notification-groups/llvm.md)
38-
- [Windows](notification-groups/windows.md)
39-
- [ARM](notification-groups/arm.md)
40-
- [Licenses](./licenses.md)
41-
- [Part 2: High-level Compiler Architecture](./part-2-intro.md)
42-
- [Overview of the Compiler](./overview.md)
43-
- [The compiler source code](./compiler-src.md)
44-
- [Queries: demand-driven compilation](./query.md)
45-
- [The Query Evaluation Model in Detail](./queries/query-evaluation-model-in-detail.md)
46-
- [Incremental compilation](./queries/incremental-compilation.md)
47-
- [Incremental compilation In Detail](./queries/incremental-compilation-in-detail.md)
48-
- [Debugging and Testing](./incrcomp-debugging.md)
49-
- [Profiling Queries](./queries/profiling.md)
50-
- [Salsa](./salsa.md)
51-
- [Memory Management in Rustc](./memory.md)
52-
- [Parallel Compilation](./parallel-rustc.md)
53-
54-
- [Part 3: Source Code Representations](./part-3-intro.md)
55-
- [Command-line arguments](./cli.md)
56-
- [The Rustc Driver and Interface](./rustc-driver.md)
57-
- [Rustdoc](./rustdoc.md)
58-
- [Ex: Type checking through `rustc_interface`](./rustc-driver-interacting-with-the-ast.md)
59-
- [Ex: Getting diagnostics through `rustc_interface`](./rustc-driver-getting-diagnostics.md)
60-
- [Syntax and the AST](./syntax-intro.md)
61-
- [Lexing and Parsing](./the-parser.md)
62-
- [Macro expansion](./macro-expansion.md)
63-
- [Name resolution](./name-resolution.md)
64-
- [`#[test]` Implementation](./test-implementation.md)
65-
- [Panic Implementation](./panic-implementation.md)
66-
- [AST Validation](./ast-validation.md)
67-
- [Feature Gate Checking](./feature-gate-ck.md)
68-
- [The HIR (High-level IR)](./hir.md)
69-
- [Lowering AST to HIR](./lowering.md)
70-
- [Debugging](./hir-debugging.md)
71-
- [The MIR (Mid-level IR)](./mir/index.md)
72-
- [HAIR and MIR construction](./mir/construction.md)
73-
- [MIR visitor and traversal](./mir/visitor.md)
74-
- [MIR passes: getting the MIR for a function](./mir/passes.md)
75-
- [Closure expansion](./closure.md)
76-
77-
- [Part 4: Analysis](./part-4-intro.md)
78-
- [The `ty` module: representing types](./ty.md)
79-
- [Generics and substitutions](./generics.md)
80-
- [`TypeFolder` and `TypeFoldable`](./ty-fold.md)
81-
- [Generic arguments](./generic_arguments.md)
82-
- [Type inference](./type-inference.md)
83-
- [Trait solving](./traits/resolution.md)
84-
- [Early and Late Bound Parameters](./early-late-bound.md)
85-
- [Higher-ranked trait bounds](./traits/hrtb.md)
86-
- [Caching subtleties](./traits/caching.md)
87-
- [Specialization](./traits/specialization.md)
88-
- [Chalk-based trait solving](./traits/chalk.md)
89-
- [Lowering to logic](./traits/lowering-to-logic.md)
90-
- [Goals and clauses](./traits/goals-and-clauses.md)
91-
- [Canonical queries](./traits/canonical-queries.md)
92-
- [Lowering module in rustc](./traits/lowering-module.md)
93-
- [Type checking](./type-checking.md)
94-
- [Method Lookup](./method-lookup.md)
95-
- [Variance](./variance.md)
96-
- [Opaque Types](./opaque-types-type-alias-impl-trait.md)
97-
- [Pattern and Exhaustiveness Checking](./pat-exhaustive-checking.md)
98-
- [The borrow checker](./borrow_check.md)
99-
- [Tracking moves and initialization](./borrow_check/moves_and_initialization.md)
100-
- [Move paths](./borrow_check/moves_and_initialization/move_paths.md)
101-
- [MIR type checker](./borrow_check/type_check.md)
102-
- [Region inference](./borrow_check/region_inference.md)
103-
- [Constraint propagation](./borrow_check/region_inference/constraint_propagation.md)
104-
- [Lifetime parameters](./borrow_check/region_inference/lifetime_parameters.md)
105-
- [Member constraints](./borrow_check/region_inference/member_constraints.md)
106-
- [Placeholders and universes][pau]
107-
- [Closure constraints](./borrow_check/region_inference/closure_constraints.md)
108-
- [Error reporting](./borrow_check/region_inference/error_reporting.md)
109-
- [Two-phase-borrows](./borrow_check/two_phase_borrows.md)
110-
- [Parameter Environments](./param_env.md)
111-
112-
- [Part 5: From MIR to binaries](./part-5-intro.md)
113-
- [The MIR (Mid-level IR)](./mir/index.md)
114-
- [MIR optimizations](./mir/optimizations.md)
115-
- [Debugging](./mir/debugging.md)
116-
- [Constant evaluation](./const-eval.md)
117-
- [miri const evaluator](./miri.md)
118-
- [Monomorphization](./backend/monomorph.md)
119-
- [Lowering MIR](./backend/lowering-mir.md)
120-
- [Code Generation](./backend/codegen.md)
121-
- [Updating LLVM](./backend/updating-llvm.md)
122-
- [Debugging LLVM](./backend/debugging.md)
123-
- [Backend Agnostic Codegen](./backend/backend-agnostic.md)
124-
- [Implicit Caller Location](./codegen/implicit-caller-location.md)
125-
- [Profile-guided Optimization](./profile-guided-optimization.md)
126-
- [Sanitizers Support](./sanitizers.md)
127-
- [Debugging Support in Rust Compiler](./debugging-support-in-rustc.md)
12+
- [Suggested Workflows](./building/suggested.md)
13+
- [Bootstrapping](./building/bootstrapping.md)
14+
- [Distribution artifacts](./building/build-install-distribution-artifacts.md)
15+
- [Documenting Compiler](./building/compiler-documenting.md)
16+
- [ctags](./building/ctags.md)
17+
- [The compiler testing framework](./tests/intro.md)
18+
- [Running tests](./tests/running.md)
19+
- [Adding new tests](./tests/adding.md)
20+
- [Using `compiletest` + commands to control test execution](./compiletest.md)
21+
- [Debugging the Compiler](./compiler-debugging.md)
22+
- [Profiling the compiler](./profiling.md)
23+
- [with the linux perf tool](./profiling/with_perf.md)
24+
- [crates.io Dependencies](./crates-io.md)
25+
- [Errors and Lints](diagnostics.md)
26+
- [`LintStore`](./diagnostics/lintstore.md)
27+
- [Diagnostic Codes](./diagnostics/diagnostic-codes.md)
28+
29+
# Contributing to Rust
30+
31+
- [About the compiler team](./compiler-team.md)
32+
- [Walkthrough: a typical contribution](./walkthrough.md)
33+
- [Bug Fix Procedure](./bug-fix-procedure.md)
34+
- [Implementing new features](./implementing_new_features.md)
35+
- [Stability attributes](./stability.md)
36+
- [Stabilizing Features](./stabilization_guide.md)
37+
- [Coding conventions](./conventions.md)
38+
- [Notification groups](notification-groups/about.md)
39+
- ["Cleanup Crew"](notification-groups/cleanup-crew.md)
40+
- [LLVM](notification-groups/llvm.md)
41+
- [Windows](notification-groups/windows.md)
42+
- [ARM](notification-groups/arm.md)
43+
- [Licenses](./licenses.md)
44+
45+
# High-level Compiler Architecture
46+
47+
- [Prologue](./part-2-intro.md)
48+
- [Overview of the Compiler](./overview.md)
49+
- [The compiler source code](./compiler-src.md)
50+
- [Queries: demand-driven compilation](./query.md)
51+
- [The Query Evaluation Model in Detail](./queries/query-evaluation-model-in-detail.md)
52+
- [Incremental compilation](./queries/incremental-compilation.md)
53+
- [Incremental compilation In Detail](./queries/incremental-compilation-in-detail.md)
54+
- [Debugging and Testing](./incrcomp-debugging.md)
55+
- [Profiling Queries](./queries/profiling.md)
56+
- [Salsa](./salsa.md)
57+
- [Memory Management in Rustc](./memory.md)
58+
- [Parallel Compilation](./parallel-rustc.md)
59+
60+
# Source Code Representations
61+
62+
- [Prologue](./part-3-intro.md)
63+
- [Command-line arguments](./cli.md)
64+
- [The Rustc Driver and Interface](./rustc-driver.md)
65+
- [Rustdoc](./rustdoc.md)
66+
- [Ex: Type checking through `rustc_interface`](./rustc-driver-interacting-with-the-ast.md)
67+
- [Ex: Getting diagnostics through `rustc_interface`](./rustc-driver-getting-diagnostics.md)
68+
- [Syntax and the AST](./syntax-intro.md)
69+
- [Lexing and Parsing](./the-parser.md)
70+
- [Macro expansion](./macro-expansion.md)
71+
- [Name resolution](./name-resolution.md)
72+
- [`#[test]` Implementation](./test-implementation.md)
73+
- [Panic Implementation](./panic-implementation.md)
74+
- [AST Validation](./ast-validation.md)
75+
- [Feature Gate Checking](./feature-gate-ck.md)
76+
- [The HIR (High-level IR)](./hir.md)
77+
- [Lowering AST to HIR](./lowering.md)
78+
- [Debugging](./hir-debugging.md)
79+
- [The MIR (Mid-level IR)](./mir/index.md)
80+
- [HAIR and MIR construction](./mir/construction.md)
81+
- [MIR visitor and traversal](./mir/visitor.md)
82+
- [MIR passes: getting the MIR for a function](./mir/passes.md)
83+
- [Closure expansion](./closure.md)
84+
85+
# Analysis
86+
87+
- [Prologue](./part-4-intro.md)
88+
- [The `ty` module: representing types](./ty.md)
89+
- [Generics and substitutions](./generics.md)
90+
- [`TypeFolder` and `TypeFoldable`](./ty-fold.md)
91+
- [Generic arguments](./generic_arguments.md)
92+
- [Type inference](./type-inference.md)
93+
- [Trait solving](./traits/resolution.md)
94+
- [Early and Late Bound Parameters](./early-late-bound.md)
95+
- [Higher-ranked trait bounds](./traits/hrtb.md)
96+
- [Caching subtleties](./traits/caching.md)
97+
- [Specialization](./traits/specialization.md)
98+
- [Chalk-based trait solving](./traits/chalk.md)
99+
- [Lowering to logic](./traits/lowering-to-logic.md)
100+
- [Goals and clauses](./traits/goals-and-clauses.md)
101+
- [Canonical queries](./traits/canonical-queries.md)
102+
- [Lowering module in rustc](./traits/lowering-module.md)
103+
- [Type checking](./type-checking.md)
104+
- [Method Lookup](./method-lookup.md)
105+
- [Variance](./variance.md)
106+
- [Opaque Types](./opaque-types-type-alias-impl-trait.md)
107+
- [Pattern and Exhaustiveness Checking](./pat-exhaustive-checking.md)
108+
- [The borrow checker](./borrow_check.md)
109+
- [Tracking moves and initialization](./borrow_check/moves_and_initialization.md)
110+
- [Move paths](./borrow_check/moves_and_initialization/move_paths.md)
111+
- [MIR type checker](./borrow_check/type_check.md)
112+
- [Region inference](./borrow_check/region_inference.md)
113+
- [Constraint propagation](./borrow_check/region_inference/constraint_propagation.md)
114+
- [Lifetime parameters](./borrow_check/region_inference/lifetime_parameters.md)
115+
- [Member constraints](./borrow_check/region_inference/member_constraints.md)
116+
- [Placeholders and universes][pau]
117+
- [Closure constraints](./borrow_check/region_inference/closure_constraints.md)
118+
- [Error reporting](./borrow_check/region_inference/error_reporting.md)
119+
- [Two-phase-borrows](./borrow_check/two_phase_borrows.md)
120+
- [Parameter Environments](./param_env.md)
121+
122+
# MIR to Binaries
123+
124+
- [Prologue](./part-5-intro.md)
125+
- [The MIR (Mid-level IR)](./mir/index.md)
126+
- [MIR optimizations](./mir/optimizations.md)
127+
- [Debugging](./mir/debugging.md)
128+
- [Constant evaluation](./const-eval.md)
129+
- [miri const evaluator](./miri.md)
130+
- [Monomorphization](./backend/monomorph.md)
131+
- [Lowering MIR](./backend/lowering-mir.md)
132+
- [Code Generation](./backend/codegen.md)
133+
- [Updating LLVM](./backend/updating-llvm.md)
134+
- [Debugging LLVM](./backend/debugging.md)
135+
- [Backend Agnostic Codegen](./backend/backend-agnostic.md)
136+
- [Implicit Caller Location](./codegen/implicit-caller-location.md)
137+
- [Profile-guided Optimization](./profile-guided-optimization.md)
138+
- [Sanitizers Support](./sanitizers.md)
139+
- [Debugging Support in Rust Compiler](./debugging-support-in-rustc.md)
128140

129141
---
130142

src/part-1-intro.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)