Skip to content

Fix rust binding build script #59

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

Merged
merged 1 commit into from
Jul 15, 2023
Merged

Fix rust binding build script #59

merged 1 commit into from
Jul 15, 2023

Conversation

the-mikedavis
Copy link
Member

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.

Also see the tree-sitter-rust builder: https://github.com/tree-sitter/tree-sitter-rust/blob/master/bindings/rust/build.rs.

Copy link
Member

@jonatanklosko jonatanklosko left a comment

Choose a reason for hiding this comment

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

@the-mikedavis perfect, thanks for fixing this!

@jonatanklosko jonatanklosko merged commit 2616034 into main Jul 15, 2023
@jonatanklosko jonatanklosko deleted the md-fix-rust-build branch July 15, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

can't compile rust crate for on macOS
2 participants