Skip to content

Commit

Permalink
Fix rust binding build script (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis authored Jul 15, 2023
1 parent 59a2ba5 commit 2616034
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bindings/rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ fn main() {
.flag_if_supported("-Wno-trigraphs");
let parser_path = src_dir.join("parser.c");
c_config.file(&parser_path);
println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap());

let scanner_path = src_dir.join("scanner.c");
c_config.file(&scanner_path);
println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());

c_config.compile("parser-scanner");
}

0 comments on commit 2616034

Please sign in to comment.