diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-07-16 16:58:47 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-07-19 17:22:46 +0200 |
| commit | 2672f7d9e8bcfc62b16a7073bddf330df4701762 (patch) | |
| tree | 022b50ede28e4941fc6c861a2b9f3841043c3853 /lib/std/BitStack.zig | |
| parent | 376e1b4603e70f1407862fde0180cfe45ca56e73 (diff) | |
| download | zig-2672f7d9e8bcfc62b16a7073bddf330df4701762.tar.gz zig-2672f7d9e8bcfc62b16a7073bddf330df4701762.zip | |
wasm-linker: shared-memory fixes
Implements the `start` section which will execute a given function
at startup of the program. After function execution, the _start
function will be called by the runtime. In the case of shared-memory
we set this section to the function `__wasm_init_memory` which will
initialize all memory on startup.
This also fixes the above mentioned function to ensure we correctly
lower the i32 values.
Lastly, this fixes a typo where we would retrieve a global, instead
of setting its value.
Diffstat (limited to 'lib/std/BitStack.zig')
0 files changed, 0 insertions, 0 deletions
