We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a2ba5 commit 2616034Copy full SHA for 2616034
bindings/rust/build.rs
@@ -9,8 +9,11 @@ fn main() {
9
.flag_if_supported("-Wno-trigraphs");
10
let parser_path = src_dir.join("parser.c");
11
c_config.file(&parser_path);
12
+ println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap());
13
14
let scanner_path = src_dir.join("scanner.c");
15
c_config.file(&scanner_path);
16
println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());
17
+
18
+ c_config.compile("parser-scanner");
19
}
0 commit comments