Module creader

Source
Expand description

Validates all used crates and extern libraries and loads their metadata

Structs§

CStore
CrateDump πŸ”’
CrateLoader
CrateMetadataRef πŸ”’
A reference to CrateMetadata that can also give access to whole crate store when necessary.
Library πŸ”’

Enums§

CrateOrigin πŸ”’
Reason that a crate is being sourced as a dependency.
DylibError
LoadResult πŸ”’
LoadedMacro

Traits§

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§

alloc_error_handler_spans πŸ”’
attempt_load_dylib πŸ”’
format_dlopen_err πŸ”’
global_allocator_spans πŸ”’
load_dylib πŸ”’
load_symbol_from_dylib⚠

Type Aliases§

MetadataLoaderDyn