sjlj 0.0.1

setjmp/longjmp for Rust
Documentation
1
2
3
4
5
# SJLJ - shortjmp & longjmp for Rust

A small library that provides inline asm functions for the `shortjmp` and `longjmp` functions. This is for using them without requiring a `libc`. The assembly is translated into intel syntax from [musl](http://git.musl-libc.org/cgit/musl/tree/src/setjmp).

For a great article on how `shortjmp` and `longjmp` work check out Mark Mossberg's [blogpost](https://offlinemark.com/2016/02/09/lets-understand-setjmp-longjmp/) which walks through x86's assembly implementation.