Expand description
the rustc crate store interface. This also includes types that are mostly used as a part of that interface, but these should probably get a better home if someone can find one.
Re-exportsยง
use std::any::Any;๐use std::path::PathBuf;๐use std::sync::OnceLock;๐use rustc_abi::ExternAbi;๐use rustc_attr_ir::CfgEntry;๐use rustc_attr_ir::PeImportNameType;๐use rustc_data_structures::svh::Svh;๐use rustc_data_structures::sync;๐use rustc_data_structures::sync::AppendOnlyIndexVec;๐use rustc_data_structures::sync::FreezeLock;๐use rustc_hir_id::definitions::DefKey;๐use rustc_hir_id::definitions::DefPath;๐use rustc_hir_id::definitions::Definitions;๐use rustc_macros::BlobDecodable;๐use rustc_macros::Decodable;๐use rustc_macros::Encodable;๐use rustc_macros::StableHash;๐use rustc_span::def_id::CrateNum;๐use rustc_span::def_id::DefId;๐use rustc_span::def_id::DefPathHash;๐use rustc_span::def_id::LOCAL_CRATE;๐use rustc_span::def_id::LocalDefId;๐use rustc_span::def_id::StableCrateId;๐use rustc_span::def_id::StableCrateIdMap;๐use rustc_span::Span;๐use rustc_span::Symbol;๐use rustc_structures::NativeLibKind;๐
Structsยง
- Crate
Source - Where a crate came from on the local filesystem. One of these three options must be non-None.
- DllImport
- Extern
Crate - Foreign
Module - Native
Lib - Untracked
Enumsยง
- Crate
DepKind - DllCalling
Convention - Calling convention for a function defined in an external library.
- DllImport
Symbol Type - Extern
Crate Source - Linkage
Preference
Traitsยง
- Crate
Store - A store of Rust crates, through which their metadata can be accessed.