Module rustc_metadata::source ·
pub use cstore_impl::provide_extern;
- Holds information about a rustc_span::SourceFile imported from another crate. See
imported_source_file()for more information.
- A reference to the raw binary version of crate metadata. A
MetadataBlobinternally is just a reference counted pointer to the actual data, so cloning it is cheap.
- Metadata 🔒Abstract over the various ways one can create metadata decoders.
- A map from external crate numbers (as decoded from some crate file) to local crate numbers (as generated during this session). Each external crate may refer to types in other external crates, and each has their own crate numbers.