contrib/libgit-rs/build.rs (4 lines of code) (raw):

pub fn main() { let ac = autocfg::new(); ac.emit_has_path("std::ffi::c_char"); }