zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 2b868bb6dd430386bc97e9e387d3b43c673f0dac (tree)
parent ba5f57616f69c01aa6faa5bcabab2d58969cf335
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu, 31 Oct 2024 16:42:19 -0700

link.File.Wasm.Archive: remove header field

it's not needed

Diffstat:
Msrc/link/Wasm/Archive.zig | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git 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, };