Skip to main content

Module session

Module 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§

CompilerIO
EarlyDiagCtxt
A wrapper around an DiagCtxt that is used for early error emissions.
IncrCompSession
Holds data on the current incremental compilation session, if there is one.
Limits
LintGroup
PointerAuthConfig
PointerAuthSchema
Session
Represents the data associated with a compilation session for a single crate.
StableCrateId
A StableCrateId is a 64-bit hash of a crate name, together with all -Cmetadata arguments, and some other data. It is to CrateNum what DefPathHash is to DefId. It is stable across compilation sessions.

Enums§

CodegenUnits
CtfeBacktrace
The behavior of the CTFE engine when an error occurs with regards to backtraces.
PointerAuthARM8_3Key
Hardware pointer-signing keys in ARM8.3. These values are the same as used in ptrauth.h.
PointerAuthAddressDiscriminator
Types of address discrimination.
PointerAuthDiscrimination
Forms of extra discrimination.

Traits§

DynLintStore

Functions§

build_session
default_emitter 🔒
generate_proc_macro_decls_symbol
mk_emitter 🔒
validate_commandline_args_with_session_available 🔒
Validate command line arguments with a Session.