view rust/chg/build.rs @ 41317:4ad002b2584d

config: reject str sections and keys on Python 3 Otherwise we could end up with a dict having both the str and bytes versions of a particular config item. This may cause some tests to regress. I haven't checked. But it is better behavior to fail fast. We could just as easily change this to normalize the values. But I like catching all non-compliant call sites first. Differential Revision: https://phab.mercurial-scm.org/D5649
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 22 Jan 2019 17:08:53 -0800
parents cd490ac908c0
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");
}