[][src]Module rustc::middle::cstore

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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

pub use self::NativeLibraryKind::*;

Structs

CrateSourceInternal

Where a crate came from on the local filesystem. One of these three options must be non-None.

EncodedMetadataInternal
ExternCrateInternal
ForeignModuleInternal
NativeLibraryInternal

Enums

DepKindInternal
ExternCrateSourceInternal
LibSourceInternal
LinkagePreferenceInternal
NativeLibraryKindInternal

Traits

CrateStoreInternal

A store of Rust crates, through which their metadata can be accessed.

MetadataLoaderInternal

The backend's way to give the crate store access to the metadata in a library. Note that it returns the raw metadata bytes stored in the library file, whether it is compressed, uncompressed, some weird mix, etc. rmeta files are backend independent and not handled here.

Functions

used_cratesInternal

Type Definitions

CrateStoreDynInternal
MetadataLoaderDynInternal