Stream: git-wasmtime

Topic: wasmtime / Issue #2645 Use `_setjmp` instead of `setjmp`


view this post on Zulip Wasmtime GitHub notifications bot (Feb 08 2021 at 16:21):

cfallin commented on Issue #2645:

The manual page at least on Linux suggests that _setjmp() is deprecated but pointed to sigsetjmp(), which seems to offer the same capability: if savesigs (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)?

view this post on Zulip Wasmtime GitHub notifications bot (Feb 08 2021 at 16:35):

alexcrichton commented on Issue #2645:

Ah indeed good point! Looks like Windows also doesn't have sigsetjmp but I think having unices use sigsetjmp makes more sense, so I've updated the conditional code to do that.


Last updated: Nov 22 2024 at 16:03 UTC