Migration to 0.12.0
from 0.11.0
causes linker errors
#19846
Labels
bug
Observed behavior contradicts documented or intended behavior
Zig Version
0.12.0 (x86_64-unknown-linux-gnu)
Steps to Reproduce and Observed Behavior
Basically I have Rust -> C -> Zig interop, that is built via bash script:
-Zbuild-std-features=panic_immediate_abort
flag on rustc/cargo means do not unwind on panic, just abortOn version
0.11.0
it compiles and runs successfully. On version0.12.0
it spits:And with
-fno-lld
:I can compile it linking with
libunwind
or c++, but it will be great to known what is the issue, why it suddenly stopped working. Last time it worked because it was a fluke and you somehow just changed the internals?Expected Behavior
Compile / know what's changed
The text was updated successfully, but these errors were encountered: