Crate rustc_interface
source ·Re-exports
pub use interface::run_compiler;
pub use interface::Config;
Modules
- Throughout the compiler tree, there are several places which want to have access to state or queries while being inside crates that are dependencies of
rustc_middle
. To facilitate this, we have therustc_data_structures::AtomicRef
type, which allows us to setup a global static which can then be set in this file at program startup. - errors 🔒
- passes 🔒
- queries 🔒
Structs
Statics
- Raw content of Fluent resource for this crate, generated by
fluent_messages
macro, imported byrustc_driver
to include all crates’ resources in one bundle.
Functions
- Sets up the callbacks in prior crates which we want to refer to the TyCtxt in.