setback 0.1.0

no_std setjmp/longjmp-based failure recovery confined to C frames
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let mut build = cc::Build::new();
    build
        .file("src/setback.c")
        // Keep a frame pointer to ease debugging of the shim.
        .flag_if_supported("-fno-omit-frame-pointer");

    build.compile("setback");

    println!("cargo:rerun-if-changed=src/setback.c");
}