[−][src]Module rustc_middle::middle::cstore

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.

Structs

CrateSource

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

EncodedMetadata
ExternCrate
ForeignModule
NativeLib

Enums

CrateDepKind
ExternCrateSource
LibSource
LinkagePreference

Traits

CrateStore

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

MetadataLoader

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_crates

Type Definitions

CrateStoreDyn
MetadataLoaderDyn