rust/chg/build.rs
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 09 Dec 2019 09:57:34 +0100
branchstable
changeset 43850 88ab1295db4c
parent 40118 cd490ac908c0
child 44688 1f5ab1a9363d
permissions -rw-r--r--
remotefilelog: have command wait for background task in the tests We leverage the feature introduced in the two previous commit to have the main command wait for the background task to be finished before returning. All test still pass and instability seems to have gone away. Most of the sleep and explicit wait are now useless and will be cleaned up in later changesets. Differential Revision: https://phab.mercurial-scm.org/D7586

extern crate cc;

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