rustc_interface - Rust (original) (raw)
Crate rustc_interface
Re-exports§
pub use interface::[Config](interface/struct.Config.html "struct rustc_interface::interface::Config");
pub use interface::[run_compiler](interface/fn.run%5Fcompiler.html "fn rustc_interface::interface::run_compiler");
pub use passes::[DEFAULT_QUERY_PROVIDERS](passes/static.DEFAULT%5FQUERY%5FPROVIDERS.html "static rustc_interface::passes::DEFAULT_QUERY_PROVIDERS");
pub use passes::[create_and_enter_global_ctxt](passes/fn.create%5Fand%5Fenter%5Fglobal%5Fctxt.html "fn rustc_interface::passes::create_and_enter_global_ctxt");
pub use passes::[parse](passes/fn.parse.html "fn rustc_interface::passes::parse");
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.
limits 🔒
Registering limits:
queries 🔒
Structs§
Statics§
Raw content of Fluent resource for this crate, generated by fluent_messages
macro, imported by rustc_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.