rustc_metadata::locator

Function get_metadata_section

Source
fn get_metadata_section<'p>(
    target: &Target,
    flavor: CrateFlavor,
    filename: &'p Path,
    loader: &dyn MetadataLoader,
    cfg_version: &'static str,
) -> Result<MetadataBlob, MetadataError<'p>>