1. Only showing results from lib.rs

    Clear filter to show all search results

  2. Feb 3, 2023#54 in #libc. MIT license . 10KB 134 lines. SJLJ - setjmp & longjmp for Rust. 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 ...
  3. If rust code calls C code, the rust code might want to catch a longjmp() from the C code and handle it somehow. Rust code might want to longjmp() to return control to C code. It is possible to use setjmp()/longjmp() just for managing control flow in rust (without interacting with C), but that would be quite dangerous and has no clear use case.
  4. Aug 22, 2024Lua C API errors are handled by longjmp. All instances where the Lua C API would otherwise longjmp over calling stack frames should be guarded against, except in internal callbacks where this is intentional. If you detect that mlua is triggering a longjmp over your Rust stack frames, this is a bug!
  5. Jun 16, 2024Related: piccolo-util See also: mlua, td_rlua, ezlua, luavisors, tlua, r2g_mlua, factorio-mlua, wasmi, wasmi_ir, hlua, lua52-sys Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  6. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

No more results found for site:lib.rs longjmp.

Suggestions:

  • Make sure all words are spelled correctly.
  • Try different keywords.
  • Try more general keywords.
  • Try fewer keywords.
Custom date rangeX