Skip to content

Commit

Permalink
Merge pull request #67 from matthewnitschke/fix_rust_bindings
Browse files Browse the repository at this point in the history
Resolved issues with rust bindings
  • Loading branch information
TimWhiting authored Apr 7, 2024
2 parents 1aef5a6 + b62a295 commit 923fbe0
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ pubspec.lock
*.dll
*.dylib
doc
.vscode
.vscode
target
71 changes: 71 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bindings/rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ 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());
Expand Down
1 change: 0 additions & 1 deletion tree_sitter/tree-sitter
Submodule tree-sitter deleted from be7915

0 comments on commit 923fbe0

Please sign in to comment.