File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 5
5
> top-level directory has separate directories for the compiler, build-system,
6
6
> std libs, etc, rather than one huge ` src/ ` directory.
7
7
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
+
8
11
## Workspace structure
9
12
10
13
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.
35
38
36
39
## Compiler
37
40
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
+
38
45
The compiler crates all have names starting with ` librustc_* ` . These are a large
39
46
collection of interdependent crates. There is also the ` rustc ` crate which is
40
47
the actual binary. It doesn't actually do anything besides calling the compiler
You can’t perform that action at this time.
0 commit comments