2017-08-31 20:33:19 +02:00
|
|
|
The `driver` crate is effectively the "main" function for the rust
|
2017-12-26 08:52:27 +01:00
|
|
|
compiler. It orchestrates the compilation process and "knits together"
|
2017-08-31 20:33:19 +02:00
|
|
|
the code from the other crates within rustc. This crate itself does
|
|
|
|
not contain any of the "main logic" of the compiler (though it does
|
|
|
|
have some code related to pretty printing or other minor compiler
|
|
|
|
options).
|
|
|
|
|
2018-03-16 18:43:22 +01:00
|
|
|
For more information about how the driver works, see the [rustc guide].
|
2017-08-31 20:33:19 +02:00
|
|
|
|
2020-03-06 15:13:26 +01:00
|
|
|
[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/rustc-driver.html
|