Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tree-sitter-ci-bot[bot]
Copy link

Description

Backport of #4730 to release-0.25.

Currently, including a tree-sitter parser as a dependency in a zig
project and running `zig build test` on the project will fetch the
zig-tree-sitter dependency declared by the parser. This is a problem
because (a) consumers may not want this dependency for whatever reason
and (b) due to how often Zig breaks everything and how scarcely most
tree-sitter parsers are updated, the zig-tree-sitter version pinned
by the parser module will often be outdated and broken.

The workaround I used was taken from https://ziggit.dev/t/11234

(cherry picked from commit 107bd80)
@clason clason merged commit 9504c24 into release-0.25 Aug 28, 2025
18 checks passed
@clason clason deleted the backport-4730-to-release-0.25 branch August 28, 2025 08:59
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.

2 participants