Crates.io | sjlj |
lib.rs | sjlj |
version | 0.1.3 |
source | src |
created_at | 2023-01-13 17:10:56.897958 |
updated_at | 2023-02-03 22:55:21.156034 |
description | setjmp/longjmp for Rust |
homepage | https://github.com/jordanisaacs/sjlj |
repository | https://github.com/jordanisaacs/sjlj |
max_upload_size | |
id | 758037 |
size | 15,093 |
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