cinrs-core 0.1.0

The C front end behind the cinrs crate: lexer, preprocessor, parser, semantic analysis, code generation
Documentation
1
2
3
4
5
6
7
8
9
/* <setjmp.h> — not supported.
 *
 * `setjmp` and `longjmp` unwind by restoring a saved machine context, which
 * has no meaning in the Rust cinrs generates: the state a `longjmp` would jump
 * back into is Rust's, and the compiler is entitled to assume nothing leaves a
 * function that way. Saying so here beats letting a program compile and then
 * corrupt itself.
 */
#error setjmp/longjmp are not supported by cinrs