]> git.lizzy.rs Git - rust.git/blob - src/librustc_driver/README.md
Auto merge of #48989 - ExpHP:path-prefix, r=dtolnay
[rust.git] / src / librustc_driver / README.md
1 The `driver` crate is effectively the "main" function for the rust
2 compiler.  It orchestrates the compilation process and "knits together"
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
8 For more information about how the driver works, see the [rustc guide].
9
10 [rustc guide]: https://rust-lang-nursery.github.io/rustc-guide/rustc-driver.html