diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-04-13 22:14:48 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-04-14 22:53:13 +0200 |
| commit | d66c61a2cf69665223815a1a12a1f93b30b99571 (patch) | |
| tree | 2f969fb2733eadc8ae16088ce98b0b19a5841ce8 /lib/std/array_hash_map.zig | |
| parent | cf37101108e56412e958a8b597bae84649893b6f (diff) | |
| download | zig-d66c61a2cf69665223815a1a12a1f93b30b99571.tar.gz zig-d66c61a2cf69665223815a1a12a1f93b30b99571.zip | |
wasm-linker: Prevent overalignment for segments
Previously, the data segments were being aligned twice.
This caused us to overalign the segment and therefore allocate a much larger
size for each segment than was required. This fix ensures we align and set the size
just once, ensuring semantically correct binaries as well as smaller binaries.
Diffstat (limited to 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions
