SJLJ - setjmp & longjmp for Rust

crates.io Released API docs MIT licensed

A small library that provides inline asm functions for the setjmp and longjmp functions. Also provides sigsetjmp and siglongjmp on Linux. This is for using them without requiring a libc. The functions are ported from musl.

For a great article on how setjmp and longjmp work check out Mark Mossberg's blogpost which walks through x86's assembly implementation.

Implemented Architectures: