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ยง
- CompilerIO
- Early
Diag Ctxt - A wrapper around an
DiagCtxt
that is used for early error emissions. - Limit
- New-type wrapper around
usize
for representing limits. Ensures that comparisons against limits are consistent throughout the compiler. - Limits
- Session
- Represents the data associated with a compilation session for a single crate.
- Stable
Crate Id - A
StableCrateId
is a 64-bit hash of a crate name, together with all-Cmetadata
arguments, and some other data. It is toCrateNum
whatDefPathHash
is toDefId
. It is stable across compilation sessions.
Enumsยง
- Codegen
Units - Ctfe
Backtrace - The behavior of the CTFE engine when an error occurs with regards to backtraces.
- Incr
Comp ๐Session - Holds data on the current incremental compilation session, if there is one.
- Metadata
Kind
Traitsยง
Functionsยง
- build_
session - default_
emitter ๐ - mk_
emitter ๐ - validate_
commandline_ ๐args_ with_ session_ available - Validate command line arguments with a
Session
.