aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-06-25 18:36:56 +0200
committerLuuk de Gram <luuk@degram.dev>2022-06-25 18:36:56 +0200
commit140bac6395610a3b9e5d5f92e2b366a27f6dcdc8 (patch)
tree6ff6d50d21b32c04d47821b1c0695ce548c46704 /src/Compilation.zig
parente32a5ba78b5e42788cba57720ce88cbfd30d434b (diff)
downloadzig-140bac6395610a3b9e5d5f92e2b366a27f6dcdc8.tar.gz
zig-140bac6395610a3b9e5d5f92e2b366a27f6dcdc8.zip
link/wasm: Sort data segments
We now ensure the "bss" section is last, which allows us to not emit this section and let the runtime initialize the memory with 0's instead. This allows for smaller binaries. The order of the other segments is arbitrary and does not matter, this may change in the future.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions