rustc_driver: expose a way to override query providers in CompileController. This API has been a long-time coming and will probably become the main method for custom drivers (that is, binaries other than `rustc` itself that use `librustc_driver`) to adapt the compiler's behavior. |
||
|---|---|---|
| .. | ||
| profile | ||
| build.rs | ||
| Cargo.toml | ||
| derive_registrar.rs | ||
| driver.rs | ||
| lib.rs | ||
| pretty.rs | ||
| README.md | ||
| target_features.rs | ||
| test.rs | ||
NB: This crate is part of the Rust compiler. For an overview of the
compiler as a whole, see
the README.md file found in librustc.
The driver crate is effectively the "main" function for the rust
compiler. It orchstrates the compilation process and "knits together"
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).