ziglang / zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
https://ziglang.org
MIT License
35.07k stars 2.56k forks source link

Better unwind table support + unwind protection in `_start()` and `clone()` #22035

Open alexrp opened 2 days ago

alexrp commented 2 days ago

@jacobly0 can you take a look at the unwind protection I added and see if it makes sense to you?

Also cc @andrewrk @mlugg since this is adding a new @import("builtin").unwind_tables field.