aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux.zig
diff options
context:
space:
mode:
authorLuuk de Gram <Luukdegram@users.noreply.github.com>2021-04-08 22:44:29 +0200
committerLuuk de Gram <Luukdegram@users.noreply.github.com>2021-04-08 22:47:08 +0200
commitff5774d93d9d952a74fab3666d4480f534c770db (patch)
tree910dfe9685f5acd65efead91c86ef758a452e702 /lib/std/os/linux.zig
parent47f36427887fc7d1646cfb7ed8eeeeb14cd3555b (diff)
downloadzig-ff5774d93d9d952a74fab3666d4480f534c770db.tar.gz
zig-ff5774d93d9d952a74fab3666d4480f534c770db.zip
Refactor link/wasm.zig to use offset table
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.
Diffstat (limited to 'lib/std/os/linux.zig')
0 files changed, 0 insertions, 0 deletions