rust/chg/build.rs
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 08 Sep 2019 10:08:41 +0200
changeset 42898 fc8072f38fd6
parent 40118 cd490ac908c0
child 44688 1f5ab1a9363d
permissions -rw-r--r--
run-tests: extract a `process_cmd_line` from the main function The main function doing line comparison is quite complex. Slicing it in smaller piece should clarify it. (This is a gratuitous cleanup that I made while investigating a bug).

extern crate cc;

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