mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
This refactor inserts an offset table into wasm's data section where each offset points to the actual data region. This means we can keep offset indexes consistant and do not have to perform any computer to determine where in the data section something like a static string exists. Instead during runtime it will load the data offset onto the stack.