diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-11-01 00:34:10 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-11-01 14:41:56 -0700 |
| commit | aaf54ce6a7e5c69c92fe30e9ca0e8ffb7765f824 (patch) | |
| tree | 836ddeee83fad8412302651caaaa9426a2c6f544 /src/Compilation.zig | |
| parent | d30e287543ff525cf62ecf7f4cfcd20fee23a8ee (diff) | |
| download | zig-aaf54ce6a7e5c69c92fe30e9ca0e8ffb7765f824.tar.gz zig-aaf54ce6a7e5c69c92fe30e9ca0e8ffb7765f824.zip | |
link.File.Wasm.Archive: simplify
Don't use the reader interface
Avoid unnecessary heap allocations
At first I started working on incorporating the Archive fields into the
Wasm data model, however, I realized a better strategy: simply omit
Archive data from the serialized linker state. Those files can be
trivially reparsed on next compiler process start. If they haven't
changed, great. Otherwise if they have, the prelink phase needs to be
restarted anyway.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
