A small no_std 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:
x86_64