aboutsummaryrefslogtreecommitdiff
path: root/test/cases/errors.3.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-11-26 18:55:06 +0100
committerLuuk de Gram <luuk@degram.dev>2023-11-28 16:40:26 +0100
commit596d1cd5a8a2daad25df9d39ad384df1b67eb39e (patch)
tree32c2b130127548b829e768ea227bba30eec26fe0 /test/cases/errors.3.zig
parent4be3cd2754f4af4f18b969dd60d954c53a281a83 (diff)
downloadzig-596d1cd5a8a2daad25df9d39ad384df1b67eb39e.tar.gz
zig-596d1cd5a8a2daad25df9d39ad384df1b67eb39e.zip
wasm-linker: support `--no-gc-sections`
By default we garbage-collect sections for Wasm to reduce size, as well as finish linking quicker (as we have fewer things to do). However, when the user specifies `--no-gc-sections` we ensure all resolved symbols get marked and therefore do not get garbage collected. This is supported in both incremental-mode and traditional linking.
Diffstat (limited to 'test/cases/errors.3.zig')
0 files changed, 0 insertions, 0 deletions