third_party_rust_signal-hook/build.rs
Michal 'vorner' Vaner 05fd96c943
Fold the signal-hook-sys inside the main signal-hook
To avoid problems with extra dependency, compatibility, etc.
2021-01-02 18:43:25 +01:00

10 lines
206 B
Rust

#[cfg(feature = "extended-siginfo-raw")]
fn main() {
cc::Build::new()
.file("src/low_level/extract.c")
.compile("extract");
}
#[cfg(not(feature = "extended-siginfo-raw"))]
fn main() {}