Add scanner to bindings
This commit is contained in:
parent
c4af009a8d
commit
10dae1ab92
2 changed files with 1 additions and 3 deletions
|
|
@ -13,11 +13,9 @@ fn main() {
|
|||
// If your language uses an external scanner written in C,
|
||||
// then include this block of code:
|
||||
|
||||
/*
|
||||
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");
|
||||
println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue