Skip to content

Commit 3f72fc9

Browse files
committed
mention the overview chapter
1 parent 833f4d5 commit 3f72fc9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/compiler-src.md

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
> top-level directory has separate directories for the compiler, build-system,
66
> std libs, etc, rather than one huge `src/` directory.
77
8+
Now that we have [seen what the compiler does](./overview.md), let's take a
9+
look at the structure of the contents of the rust-lang/rust repo.
10+
811
## Workspace structure
912

1013
The `rust-lang/rust` repository consists of a single large cargo workspace
@@ -35,6 +38,10 @@ built in a special way because it can use unstable features.
3538

3639
## Compiler
3740

41+
> You may find it helpful to read [The Overview Chapter](./overview.md) first,
42+
> which gives an overview of how the compiler works. The crates mentioned in
43+
> this section implement the compiler.
44+
3845
The compiler crates all have names starting with `librustc_*`. These are a large
3946
collection of interdependent crates. There is also the `rustc` crate which is
4047
the actual binary. It doesn't actually do anything besides calling the compiler

0 commit comments

Comments
 (0)