rust/chg/build.rs
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 22 Nov 2022 12:44:22 +0100
changeset 49663 45d7b8c380d7
parent 44688 1f5ab1a9363d
permissions -rw-r--r--
changelog-v2: add a configuration to disable rank computation We encountered a graph where rank computation was pathologically slow. We add an option to disable this computation while this is getting fixed. Disabling the rank computation should allow for testing other changelog-v2 features undisturbed (like changeset-based copy tracing). I am purposely not adding a test for the new non-default code path, as this is a temporary work around of an experimental feature.

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