File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 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
1013The ` 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+
3845The compiler crates all have names starting with ` librustc_* ` . These are a large
3946collection of interdependent crates. There is also the ` rustc ` crate which is
4047the actual binary. It doesn't actually do anything besides calling the compiler
You can’t perform that action at this time.
0 commit comments