]>
Commit | Line | Data |
---|---|---|
ea8adc8c | 1 | The `driver` crate is effectively the "main" function for the rust |
ff7c6d11 | 2 | compiler. It orchestrates the compilation process and "knits together" |
ea8adc8c XL |
3 | the code from the other crates within rustc. This crate itself does |
4 | not contain any of the "main logic" of the compiler (though it does | |
5 | have some code related to pretty printing or other minor compiler | |
6 | options). | |
7 | ||
ba9703b0 | 8 | For more information about how the driver works, see the [rustc dev guide]. |
ea8adc8c | 9 | |
ba9703b0 | 10 | [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/rustc-driver.html |