Skip to main content

Crate rustc_metadata

Crate rustc_metadata 

Source

Re-exportsยง

pub use creader::DylibError;
pub use creader::load_symbol_from_dylib;
pub use fs::METADATA_FILENAME;
pub use fs::emit_wrapper_file;

Modulesยง

creader
Validates all used crates and extern libraries and loads their metadata
dependency_format ๐Ÿ”’
Resolution of mixing rlibs and dylibs
eii ๐Ÿ”’
errors
foreign_modules ๐Ÿ”’
fs
locator
Finds crate binaries and loads their metadata
native_libs ๐Ÿ”’
rmeta ๐Ÿ”’

Structsยง

EncodedMetadata
NativeLibSearchFallback
The fallback directories are passed to linker, but not used when rustc does the search, because in the latter case the set of fallback directories cannot always be determined consistently at the moment.

Constantsยง

METADATA_HEADER
Metadata header which includes METADATA_VERSION.

Functionsยง

encode_metadata
find_native_static_library
provide
rendered_const
Build a textual representation of an unevaluated constant expression.
try_find_native_dynamic_library
try_find_native_static_library
walk_native_lib_search_dirs