// build.rs // Bring in a dependency on an externally maintained `cc` package which manages // invoking the C compiler. extern crate cc; fn main() { cc::Build::new() .file("oppai/oppai.c") .define("OPPAI_EXPORT", None) .compile("oppai"); cc::Build::new().file("tests/test.c").compile("test"); }