Open wooster0 opened 3 weeks ago
This is the line of inline asm that's causing this: https://github.com/ziglang/zig/blob/e5f5229fd6f9d0fe684ab32cce8f2b18e02c115b/lib/std/start.zig#L250 added in f289b82d0efda77b72ccf9c826023e904f9ffcab
I have an upcoming PR that improves the compiler's handling of unwind tables, including adding a builtin.unwind_tables
decl. With that, we can more easily decide whether to emit the .cfi_undefined
directive.
Similar fix is needed in clone()
.
zig1.wasm
update before we can actually start using @import("builtin").unwind_tables
in standard library code, though.
Zig Version
0.14.0-dev.2164+6b2c8fc68
Steps to Reproduce and Observed Behavior
Expected Behavior
Successful compilation.