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

tree-sitter: fix cross #35922

Merged
merged 1 commit into from Mar 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion srcpkgs/tree-sitter/template
Expand Up @@ -11,7 +11,11 @@ homepage="https://tree-sitter.github.io"
distfiles="https://github.com/tree-sitter/tree-sitter/archive/v${version}.tar.gz"
checksum=2a0445f8172bbf83db005aedb4e893d394e2b7b33251badd3c94c2c5cc37c403
make_check=no # tests require generating fixtures from remote repositories
nocross=yes # fails with current rust

post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg --precise 1.1.0
}

post_build() {
# Build libtree-sitter, since do_build builds the tree-sitter CLI.
Expand Down