rust/chg/build.rs
author Manuel Jacob <me@manueljacob.de>
Fri, 02 Feb 2024 04:23:07 +0100
changeset 51373 7d313b259169
parent 44688 1f5ab1a9363d
permissions -rw-r--r--
hghave: use strings instead of floats for version numbers passed to checkvers I think it’s a really bad idea to use floats for version numbers. One problem is that 3.10 is the same as 3.1.

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