Added the mdbook-linkcheck backend

This commit is contained in:
Michael Bryan 2018-01-27 14:30:07 +08:00 committed by Niko Matsakis
parent 32ceadd9d9
commit 1d3f0bb532
3 changed files with 7 additions and 2 deletions

View File

@ -3,3 +3,6 @@ title = "Guide to Rustc Development"
author = "Rustc developers" author = "Rustc developers"
description = "A guide to developing rustc " description = "A guide to developing rustc "
[output.html]
[output.linkcheck]

View File

@ -43,7 +43,7 @@ The `rustc_driver` crate, at the top of this lattice, is effectively
the "main" function for the rust compiler. It doesn't have much "real the "main" function for the rust compiler. It doesn't have much "real
code", but instead ties together all of the code defined in the other code", but instead ties together all of the code defined in the other
crates and defines the overall flow of execution. (As we transition crates and defines the overall flow of execution. (As we transition
more and more to the [query model](ty/maps/README.md), however, the more and more to the [query model], however, the
"flow" of compilation is becoming less centrally defined.) "flow" of compilation is becoming less centrally defined.)
At the other extreme, the `rustc` crate defines the common and At the other extreme, the `rustc` crate defines the common and
@ -134,3 +134,5 @@ take:
(one for each "codegen unit"). (one for each "codegen unit").
6. **Linking** 6. **Linking**
- Finally, those `.o` files are linked together. - Finally, those `.o` files are linked together.
[query model]: https://github.com/rust-lang/rust/blob/master/src/librustc/ty/maps/README.md

View File

@ -78,7 +78,7 @@ is in fact a simple type alias for a reference with `'tcx` lifetime:
pub type Ty<'tcx> = &'tcx TyS<'tcx>; pub type Ty<'tcx> = &'tcx TyS<'tcx>;
``` ```
[the HIR]: ../hir/README.md [the HIR]: https://github.com/rust-lang/rust/blob/master/src/librustc/hir/README.md
You can basically ignore the `TyS` struct -- you will basically never You can basically ignore the `TyS` struct -- you will basically never
access it explicitly. We always pass it by reference using the access it explicitly. We always pass it by reference using the