aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-10-31 16:42:19 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-10-31 22:01:10 -0700
commit2b868bb6dd430386bc97e9e387d3b43c673f0dac (patch)
tree4fb535f04675c5b4e20be699c8634909848ee710 /src
parentba5f57616f69c01aa6faa5bcabab2d58969cf335 (diff)
downloadzig-2b868bb6dd430386bc97e9e387d3b43c673f0dac.tar.gz
zig-2b868bb6dd430386bc97e9e387d3b43c673f0dac.zip
link.File.Wasm.Archive: remove header field
it's not needed
Diffstat (limited to 'src')
-rw-r--r--src/link/Wasm/Archive.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/link/Wasm/Archive.zig b/src/link/Wasm/Archive.zig
index bdbdec6f9a..36741b9960 100644
--- a/src/link/Wasm/Archive.zig
+++ b/src/link/Wasm/Archive.zig
@@ -1,5 +1,3 @@
-header: ar_hdr,
-
/// A list of long file names, delimited by a LF character (0x0a).
/// This is stored as a single slice of bytes, as the header-names
/// point to the character index of a file name, rather than the index
@@ -110,7 +108,6 @@ pub fn parse(gpa: Allocator, file_contents: []const u8) !Archive {
errdefer gpa.free(long_file_names);
return .{
- .header = header,
.toc = toc,
.long_file_names = long_file_names,
};