rust/chg/build.rs
author Simon Sapin <simon.sapin@octobus.net>
Fri, 21 May 2021 17:12:47 +0200
changeset 47327 e985a36c2aa3
parent 44689 1f5ab1a9363d
permissions -rw-r--r--
upgrade: Use `improvement` subclasses everywhere, not instances This changes the source definition of optimizations to match that of formats: a subclass with a decorator, instead of an instance passed to a function call. Not having any instance removes the confusion between class attributes and instance attributes, which were used interchangeably. Differential Revision: https://phab.mercurial-scm.org/D10768

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