Closed the-mikedavis closed 1 year ago
Closes #58
It looks like #56 mistakenly removed cc::Build::compile. I also added a rerun-if-changed for the parser so that changes to the grammar would cause cargo to recompile the parser.
cc::Build::compile
rerun-if-changed
Also see the tree-sitter-rust builder: https://github.com/tree-sitter/tree-sitter-rust/blob/master/bindings/rust/build.rs.
Closes #58
It looks like #56 mistakenly removed
cc::Build::compile
. I also added arerun-if-changed
for the parser so that changes to the grammar would cause cargo to recompile the parser.Also see the tree-sitter-rust builder: https://github.com/tree-sitter/tree-sitter-rust/blob/master/bindings/rust/build.rs.