aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-11-01 00:34:10 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-11-01 14:41:56 -0700
commitaaf54ce6a7e5c69c92fe30e9ca0e8ffb7765f824 (patch)
tree836ddeee83fad8412302651caaaa9426a2c6f544 /src/Compilation.zig
parentd30e287543ff525cf62ecf7f4cfcd20fee23a8ee (diff)
downloadzig-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