aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/wasm/Emit.zig
AgeCommit message (Collapse)Author
2025-10-29wasm linking: handle unreachable call_indirectAndrew Kelley
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.
2025-09-26compiler: move self-hosted backends from src/arch to src/codegenAlex Rønne Petersen