Re-exportsยง
use std::any::Any;๐use std::ops::Deref;๐use std::ops::DerefMut;๐use std::path::Component::Prefix;๐use std::path::PathBuf;๐use std::str::FromStr;๐use std::sync::Arc;๐use std::sync::atomic::AtomicBool;๐use std::sync::atomic::AtomicUsize;๐use std::env;๐use std::env;๐use std::io;๐use rustc_data_structures::flock;๐use rustc_data_structures::fx::FxHashMap;๐use rustc_data_structures::fx::FxHashSet;๐use rustc_data_structures::fx::FxIndexSet;๐use rustc_data_structures::profiling::SelfProfiler;๐use rustc_data_structures::profiling::SelfProfilerRef;๐use rustc_data_structures::sync::AppendOnlyVec;๐use rustc_data_structures::sync::DynSend;๐use rustc_data_structures::sync::DynSync;๐use rustc_data_structures::sync::Lock;๐use rustc_errors::annotate_snippet_emitter_writer::AnnotateSnippetEmitter;๐use rustc_errors::emitter::DynEmitter;๐use rustc_errors::emitter::HumanReadableErrorType;๐use rustc_errors::emitter::OutputTheme;๐use rustc_errors::emitter::stderr_destination;๐use rustc_errors::json::JsonEmitter;๐use rustc_errors::timings::TimingSectionHandler;๐use rustc_errors::Diag;๐use rustc_errors::DiagCtxt;๐use rustc_errors::DiagCtxtHandle;๐use rustc_errors::DiagMessage;๐use rustc_errors::Diagnostic;๐use rustc_errors::ErrorGuaranteed;๐use rustc_errors::PResult;๐use rustc_errors::TerminalUrl;๐use rustc_feature::UnstableFeatures;๐use rustc_macros::StableHash;๐use rustc_span::edition::Edition;๐use rustc_span::source_map::FilePathMapping;๐use rustc_span::source_map::SourceMap;๐use rustc_span::RealFileName;๐use rustc_span::Span;๐use rustc_span::Symbol;๐use rustc_structures::CrateType;๐use rustc_structures::Limit;๐use rustc_structures::LintName;๐use rustc_target::asm::InlineAsmArch;๐use rustc_target::spec::Arch;๐use rustc_target::spec::CfgAbi;๐use rustc_target::spec::CodeModel;๐use rustc_target::spec::DebuginfoKind;๐use rustc_target::spec::MergeFunctions;๐use rustc_target::spec::Os;๐use rustc_target::spec::PanicStrategy;๐use rustc_target::spec::RelocModel;๐use rustc_target::spec::RelroLevel;๐use rustc_target::spec::SanitizerSet;๐use rustc_target::spec::SmallDataThresholdSupport;๐use rustc_target::spec::SplitDebuginfo;๐use rustc_target::spec::StackProtector;๐use rustc_target::spec::SymbolVisibility;๐use rustc_target::spec::Target;๐use rustc_target::spec::TargetTuple;๐use rustc_target::spec::TlsModel;๐use rustc_target::spec::apple;๐use crate::code_stats::CodeStats;๐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;use crate::config;๐use crate::config::BranchProtection;๐use crate::config::Cfg;๐use crate::config::CheckCfg;๐use crate::config::CoverageLevel;๐use crate::config::CoverageOptions;๐use crate::config::DebugInfo;๐use crate::config::ErrorOutputType;๐use crate::config::FunctionReturn;๐use crate::config::Input;๐use crate::config::InstrumentCoverage;๐use crate::config::InstrumentMcount;๐use crate::config::LtoCli;๐use crate::config::NATIVE_CPU;๐use crate::config::OutFileName;๐use crate::config::OutputType;๐use crate::config::PAuthKey;๐use crate::config::PointerAuthOption;๐use crate::config::SwitchWithOptPath;๐use crate::filesearch::FileSearch;๐use crate::lint::LintId;๐use crate::parse::ParseSess;๐use crate::search_paths::SearchPath;๐use crate::diagnostics;๐use crate::filesearch;๐use crate::lint;๐use rustc_errors::codes::*;๐
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.