aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-03-14 19:31:45 +0100
committerLuuk de Gram <luuk@degram.dev>2023-03-18 20:13:29 +0100
commit00af3a79aede098c60eeff38ad72fa399b9d3ccf (patch)
tree17badac16ab8b35d7f1c6217a4aaf7cadd672ba5 /src/codegen/c
parentfb9d3cd50e9a6d112277d7de158ef857162c01d9 (diff)
downloadzig-00af3a79aede098c60eeff38ad72fa399b9d3ccf.tar.gz
zig-00af3a79aede098c60eeff38ad72fa399b9d3ccf.zip
wasm-linker: emit 'data count' & segment flags
When linking with shared-memory enabled, we must ensure to emit the "data count" section as well as emit the correct segment flags to tell the runtime/loader that each segment is passive. This is required as we don't emit the offsets for such segments but instead initialize each segment (for each thread) during runtime.
Diffstat (limited to 'src/codegen/c')
0 files changed, 0 insertions, 0 deletions