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§

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