So @bjorn3 prepared #86801 which modifies the personality function -Cpanic=abort Rust code to abort on any unwinding, but it doesn't work on windows. @rylev or @mw (random choices) do you all perhaps have any thoughts on what the windows equivalent is, or who to ask?
I suggested how to do this on Windows in a comment, but haven't yet found the time to actually try this.
I didn't realize you had suggested a specific thing
SEH uses a personality function too, but LLVM detects things based on the name, so I suggested a dance to allow the personality function to have this name for rust object files without causing conflicts with the actual function of this name which is used by C++ too.
On windows aborting should be done with __fastfail. I thought we were already doing that for the abort intrinsic
Yes, we do. This issue is however for making
extern "C-unwind" abort when trying to unwind through it from C++.
This sounds like something that @Arlie Davis could potentially help with.
Last updated: Jan 26 2022 at 07:32 UTC