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;pub use getopts;pub(crate) use rustc_lint_defs as lint;🔒
Modules§
- code_
stats - config
- Contains infrastructure for configuring the compiler, including parsing command-line options.
- diagnostics
- filesearch
- A module for searching for libraries
- macros 🔒
- options 🔒
- output
- Related to out filenames of compilation (e.g. binaries).
- parse
- Contains
ParseSesswhich holds state living beyond what oneParsermight. It also serves as an input to the parser itself. - search_
paths - session 🔒
- utils
Structs§
- Borrowed
Incr Comp Session - A runtime tracked borrow of the incr comp session. Can be sent to worker threads.
- Codegen
Backend Init - Some info about the backend, returned by
CodegenBackend::initand put into theSession. - CompilerIO
- Early
Diag Ctxt - A wrapper around an
DiagCtxtthat is used for early error emissions. - Early
Session - Partial session built before the full session. More specifically,
EarlySessionis used to init the codegen backend, and then both pieces are used to build the fullSession. - Incr
Comp Session - Holds data on the current incremental compilation session, if there is one.
- Limits
- Lint
Group - Pointer
Auth Config - Pointer
Auth Schema - Session
- Represents the data associated with a compilation session for a single crate.
- Stable
Crate Id - 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§
- Codegen
Units - Ctfe
Backtrace - The behavior of the CTFE engine when an error occurs with regards to backtraces.
- Pointer
AuthAR M8_ 3Key - Hardware pointer-signing keys in ARM8.3. These values are the same as used in ptrauth.h.
- Pointer
Auth Address Discriminator - Types of address discrimination.
- Pointer
Auth Discrimination - Forms of extra discrimination.
Traits§
Functions§
- build_
early_ session - build_
session - default_
emitter - generate_
proc_ macro_ decls_ symbol - mk_
emitter - validate_
commandline_ args_ with_ session_ available - Validate command line arguments with a
Session.