Module rustc_session::session
source ยท Re-exportsยง
pub use crate::code_stats::DataTypeKind;pub use crate::code_stats::FieldInfo;pub use crate::code_stats::FieldKind;pub use crate::code_stats::SizeKind;pub use crate::code_stats::VariantInfo;
Structsยง
- A wrapper around an
DiagCtxtthat is used for early error emissions. - New-type wrapper around
usizefor representing limits. Ensures that comparisons against limits are consistent throughout the compiler. - OptimizationFuel ๐
- Represents the data associated with a compilation session for a single crate.
- A
StableCrateIdis a 64-bit hash of a crate name, together with all-Cmetadataarguments, and some other data. It is toCrateNumwhatDefPathHashis toDefId. It is stable across compilation sessions.
Enumsยง
- The behavior of the CTFE engine when an error occurs with regards to backtraces.
- IncrCompSession ๐Holds data on the current incremental compilation session, if there is one.
Traitsยง
Functionsยง
- default_emitter ๐
- mk_emitter ๐
- Validate command line arguments with a
Session.