extern crate c_rs; #[allow(unused)] fn main() { c_rs::build("src/main.rs", "crate_name", |cfg| { // cfg is a gcc::Config object. You can use it to add additional // configuration options to the invocation of the C compiler. }); }