2017-08-31 18:33:19 +00:00
|
|
|
The `driver` crate is effectively the "main" function for the rust
|
2022-11-16 20:34:16 +00:00
|
|
|
compiler. It orchestrates the compilation process and "knits together"
|
2017-08-31 18:33:19 +00: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).
|
|
|
|
|
2020-03-05 21:07:42 +00:00
|
|
|
For more information about how the driver works, see the [rustc dev guide].
|
2017-08-31 18:33:19 +00:00
|
|
|
|
2024-10-06 10:08:28 +00:00
|
|
|
[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/rustc-driver/intro.html
|