diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-04-17 20:05:24 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-04-22 21:57:38 +0200 |
| commit | 6c1ab376ddcdbb05610487e5b813d42ff37da40d (patch) | |
| tree | 759a47fde287b33ae3e40b88a83dc8723b98b379 /lib/std | |
| parent | d4ceb12ae9d409dbd52c1f5c96312a1e6ad7d6bc (diff) | |
| download | zig-6c1ab376ddcdbb05610487e5b813d42ff37da40d.tar.gz zig-6c1ab376ddcdbb05610487e5b813d42ff37da40d.zip | |
wasm: store `__zig_lt_errors_len` in linear data
Rather than using a function call to verify if an error fits within
the global error set's length, we now store the error set' size in
the .rodata segment of the linear memory and load that value onto
the stack to check with the integer value.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
