11 lines
287 B
Rust
Raw Normal View History

fn main() {
if std::env::var("CARGO_CFG_TARGET_OS").expect("TARGET_OS not specified") != "windows" {
return;
}
2020-03-18 20:05:05 +01:00
cc::Build::new()
.include("exception_handling")
.file("exception_handling/exception_handling.c")
.compile("exception_handling");
}