Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rust binding #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

wingyplus
Copy link

The binding generated by tree-sitter version 0.20.0. The cargo build & test passed. And re-generate the parser.c.

Update #32

@@ -1,5 +1,2 @@
/build
/node_modules

/bindings/rust
/Cargo.toml
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add Cargo.lock file? If not, we can add it to .gitignore file to prevent someone committing it.

Copy link

@Brunojoes69 Brunojoes69 Jun 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Copy link

@Brunojoes69 Brunojoes69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Purge

Copy link

@Brunojoes69 Brunojoes69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.gitignore

Copy link

@Brunojoes69 Brunojoes69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

fn main() {
let src_dir = std::path::Path::new("src");

let mut c_config = cc::Build::new();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let c_config = cc: :Build: :new(.*);

Copy link

@Brunojoes69 Brunojoes69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cargo.lock

@Brunojoes69
Copy link

The binding generated by tree-sitter version 0.20.0. The cargo build & test passed. And re-generate the parser.c.

Update #32

Purge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants