Split metadata by format

This does not change the metadata to keep old packages working.
Instead, for now, just appended `_` to unused fields.
This commit is contained in:
Brendan Hansknecht 2023-04-27 07:38:12 -07:00
parent ae04a73d2f
commit 506c1251f4
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
4 changed files with 172 additions and 113 deletions

View file

@ -21,7 +21,6 @@ mod macho;
mod pe;
mod generate_dylib;
mod metadata;
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum LinkType {
@ -409,7 +408,7 @@ pub fn preprocess_host(
)
}
/// Constructs a `metadata::Metadata` from a host executable binary, and writes it to disk
/// Constructs a `Metadata` from a host executable binary, and writes it to disk
#[allow(clippy::too_many_arguments)]
fn preprocess(
target: &Triple,