view rust/chg/build.rs @ 40118:cd490ac908c0

rust-chg: extract signal handlers from chg/procutil.c abortmsgerrno() and debugmsg() are removed, and the public interface instead returns success/error status. Since signal handlers can't propagate errors, the result of kill() is just ignored.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 24 Sep 2018 22:04:57 +0900
parents 208cb7a9d0fa
children 1f5ab1a9363d
line wrap: on
line source

extern crate cc;

fn main() {
    cc::Build::new()
        .warnings(true)
        .file("src/sendfds.c")
        .file("src/sighandlers.c")
        .compile("procutil");
}