mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
wasm/archive: correctly parse long file names
Wasm archive files are encoded the same way as GNU. This means that the header notates the character index within the long file name list rather than the length of the name. The entire name is then delimited by an LF character (0x0a). This also makes a cosmetic update to remove the `self` name, and rather label it as `archive` instead.
This commit is contained in:
parent
e5e6eb9831
commit
aca911ca18
1 changed files with 67 additions and 51 deletions
Loading…
Add table
Add a link
Reference in a new issue