File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,13 @@ in [librustc_back](https://github.com/rust-lang/rust/tree/master/src/librustc_ba
88
88
89
89
All these phases are coordinated by the driver. To see the exact sequence, look
90
90
at [ the ` compile_input ` function in ` librustc_driver ` ] [ compile-input ] .
91
- The driver handles all the highest level coordination of compilation - handling
92
- command-line arguments, maintaining compilation state (primarily in the ` Session ` ),
93
- and calling the appropriate code to run each phase of compilation. It also handles
94
- high level coordination of pretty printing and testing. To create a drop-in
95
- compiler replacement or a compiler replacement, we leave most of compilation
96
- alone and customise the driver using its APIs.
91
+ The driver handles all the highest level coordination of compilation -
92
+ 1. handling command-line arguments
93
+ 2. maintaining compilation state (primarily in the ` Session ` )
94
+ 3. calling the appropriate code to run each phase of compilation
95
+ 4. handles high level coordination of pretty printing and testing.
96
+ To create a drop-in compiler replacement or a compiler replacement,
97
+ we leave most of compilation alone and customise the driver using its APIs.
97
98
98
99
[ compile-input ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/driver/fn.compile_input.html
99
100
You can’t perform that action at this time.
0 commit comments