1 2 3 4 5 6 7 8 9 10
use cc; fn main() { // Build our snprintf substitute (which has to be C as Rust doesn't do varargs) cc::Build::new() .warnings(true) .extra_warnings(true) .file("./src/snprintf.c") .compile("clocal"); }