use std::path::PathBuf; fn main() { let dir: PathBuf = ["tree-sitter-quickbms", "src"].iter().collect(); cc::Build::new() .include(&dir) .file(dir.join("parser.c")) .compile("tree-sitter-quickbms"); }