Expand description
Late-metadata archive member that lists which rlib entries are Rust object files, and potentially other data collected and used when building or linking a rlib. See https://github.com/rust-lang/rust/issues/138243.
Re-exportsยง
use std::fs::File;๐use std::path::Path;๐use std::path::PathBuf;๐use object::read::archive::ArchiveFile;๐use rustc_data_structures::fx::FxHashMap;๐use rustc_data_structures::memmap::Mmap;๐use rustc_serialize::opaque::mem_encoder::MemEncoder;๐use rustc_serialize::opaque::MAGIC_END_BYTES;๐use rustc_serialize::opaque::MemDecoder;๐use rustc_serialize::Decodable;๐use rustc_serialize::Encodable;๐use rustc_span::Symbol;๐use rustc_structures::NativeLibKind;๐use rustc_target::spec::Target;๐use tracing::debug;๐use super::metadata::get_metadata_xcoff;๐use super::metadata::search_for_section;๐use crate::NativeLib;๐
Structsยง
Constantsยง
Functionsยง
- crate_
may_ ๐have_ bundled_ libs - read
- Reads the link-time metadata from an already-parsed archive.
- read_
from_ data - Like
read, but parses the archive from raw bytes. - read_
from_ ๐path