You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implements best-effort attempt to implement default signal handlers as per https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html:
- Terminate action is mapped to `_Exit` aka `wasi_proc_exit` - variant of exit that doesn't run `atexit` handlers.
- Abort action (terminate with core dump) is mapped to `__builtin_trap` aka Wasm `unreachable` instruction.
- Process pause/continue actions are ignored as it's unclear what that would do in Wasm (maybe use Asyncify in the future?).
Fixes#20254
0 commit comments