cfallin commented on Issue #2645:
The manual page at least on Linux suggests that
_setjmp()
is deprecated but pointed tosigsetjmp()
, which seems to offer the same capability: ifsavesigs
(the second arg) is zero, it won't save the signal mask. Maybe that's what we want (and maybe it'll resolve the CI issue on Windows)?
alexcrichton commented on Issue #2645:
Ah indeed good point! Looks like Windows also doesn't have
sigsetjmp
but I think having unices usesigsetjmp
makes more sense, so I've updated the conditional code to do that.
Last updated: Nov 22 2024 at 16:03 UTC