aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_hash_map.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-04-13 22:14:48 +0200
committerLuuk de Gram <luuk@degram.dev>2022-04-14 22:53:13 +0200
commitd66c61a2cf69665223815a1a12a1f93b30b99571 (patch)
tree2f969fb2733eadc8ae16088ce98b0b19a5841ce8 /lib/std/array_hash_map.zig
parentcf37101108e56412e958a8b597bae84649893b6f (diff)
downloadzig-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