aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-10-27 12:11:10 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-10-29 06:20:51 -0700
commit02119362d70bb16ae6ab00124928bde89834c83f (patch)
tree8fc933f9cba5df08252b091bc40ef40ad310bfea /lib/std/debug.zig
parent6ccb53bff130a473f9d2cc3d0c1ad3a8c6399b2d (diff)
downloadzig-02119362d70bb16ae6ab00124928bde89834c83f.tar.gz
zig-02119362d70bb16ae6ab00124928bde89834c83f.zip
wasm linking: handle unreachable call_indirect
The compiler crashed when we tried to call a function pointer for which the type signature does not match any function body or function import in the entire wasm executable, because there is no way to create a reference to a function without it being in the function table or import table. Solution is to make this instruction lower to unreachable.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions