view rust/chg/build.rs @ 44204:bafdaf4858d8

rust-cpython: inline PySharedState::try_borrow_mut() Since the core borrowing/leaking logic has been moved to PySharedRef* and PyLeaked*, it doesn't make sense that PySharedState had a function named "try_borrow_mut". Let's turn it into a pure data struct.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 19 Oct 2019 16:34:02 +0900
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");
}