Module rustc_codegen_ssa::back::metadata
source · Expand description
Reading of the rustc metadata for rlibs and dylibs
Structs
- The default metadata loader. This is used by cg_llvm and cg_clif.
Enums
Functions
- For rlibs we “pack” rustc metadata into a dummy object file.
- Apple’s LD, when linking for Mac Catalyst, requires object files to contain information about what they were built for (LC_BUILD_VERSION): the platform (macOS/watchOS etc), minimum OS version, and SDK version. This returns a
MachOBuildVersionif necessary for the target.