Skip to content

Conversation

@ObserverOfTime
Copy link
Member

Fixes #62

@ObserverOfTime
Copy link
Member Author

Can you check if this also works for you? @maloewe-ona

@ghost ghost mentioned this pull request Feb 3, 2025
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Can you check if this also works for you? @maloewe-ona

At least the unit tests pass locally for me on Windows; whereas without the ts_set_allocator call they crash the JVM.

Note that so far I have been using x86_64-w64-mingw32-gcc (inside a container) to build the tree-sitter Windows .dll for testing; not sure if that makes a difference. But since the GitHub workflow (which uses MSVC?) encountered the same JVM crash, I assume it does not make a difference.


If possible could you omit the Co-Authored-By:, referring to me, from the commit message?
Thanks for considering to credit me though!

@ObserverOfTime ObserverOfTime merged commit 58dda5e into master Feb 4, 2025
3 checks passed
@ObserverOfTime ObserverOfTime deleted the alloc branch February 4, 2025 19:20
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.

The free() function crashes on Windows

2 participants