tree-sitter: fix cross
This commit is contained in:
parent
5b1b4ba372
commit
a93c5322d3
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,11 @@ homepage="https://tree-sitter.github.io"
|
||||||
distfiles="https://github.com/tree-sitter/tree-sitter/archive/v${version}.tar.gz"
|
distfiles="https://github.com/tree-sitter/tree-sitter/archive/v${version}.tar.gz"
|
||||||
checksum=2a0445f8172bbf83db005aedb4e893d394e2b7b33251badd3c94c2c5cc37c403
|
checksum=2a0445f8172bbf83db005aedb4e893d394e2b7b33251badd3c94c2c5cc37c403
|
||||||
make_check=no # tests require generating fixtures from remote repositories
|
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() {
|
post_build() {
|
||||||
# Build libtree-sitter, since do_build builds the tree-sitter CLI.
|
# Build libtree-sitter, since do_build builds the tree-sitter CLI.
|
||||||
|
|
Loading…
Reference in a new issue