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