microseh 1.0.4

Structured Exception Handling (SEH) for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(not(docsrs))]
extern crate cc;

#[cfg(not(docsrs))]
fn main() {
    if std::env::var("HOST").unwrap().contains("gnu") { return; }
    cc::Build::new().file("src/stub.c").compile("sehstub");
}

#[cfg(docsrs)]
fn main() {}