File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4198,7 +4198,7 @@ libsword-1.9.0.so libsword-1.9.0_1
41984198libgivaro.so.9 givaro-4.1.1_1
41994199liblinbox.so.0 linbox-1.6.3_1
42004200libpari-gmp-tls.so.9 pari-2.17.0_1
4201- libtree-sitter.so.0.25 tree-sitter-0.25.2_1
4201+ libtree-sitter.so.0.26 tree-sitter-0.26.7_1
42024202libplanarity.so.2 planarity-4.0.0.0_1
42034203libgap.so.10 gap-4.15.1_1
42044204libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
Original file line number Diff line number Diff line change 1+ --- a/crates/cli/Cargo.toml
2+ +++ b/crates/cli/Cargo.toml
3+ @@ -30,7 +30,7 @@ name = "benchmark"
4+ harness = false
5+
6+ [features]
7+ - default = ["qjs-rt"]
8+ + default = []
9+ wasm = ["tree-sitter/wasm", "tree-sitter-loader/wasm"]
10+ qjs-rt = ["tree-sitter-generate/qjs-rt"]
11+
12+ --- a/crates/generate/Cargo.toml
13+ +++ b/crates/generate/Cargo.toml
14+ @@ -20,7 +20,7 @@ path = "src/generate.rs"
15+ workspace = true
16+
17+ [features]
18+ - default = ["qjs-rt"]
19+ + default = ["load"]
20+ load = ["dep:semver"]
21+ qjs-rt = ["load", "rquickjs", "pathdiff"]
Original file line number Diff line number Diff line change 11# Template file for 'tree-sitter'
22pkgname=tree-sitter
3- version=0.25.10
3+ version=0.26.7
44revision=1
55build_style=cargo
6- make_install_args="--path=cli"
6+ make_install_args="--path=crates/cli"
7+ hostmakedepends="clang perl"
78short_desc="Parser generator tool and incremental parsing library"
89maintainer="Érico Nogueira <
[email protected] >"
910license="MIT"
1011homepage="https://tree-sitter.github.io"
1112changelog="https://github.com/tree-sitter/tree-sitter/releases"
1213distfiles="https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${version}.tar.gz"
13- checksum=ad5040537537012b16ef6e1210a572b927c7cdc2b99d1ee88d44a7dcdc3ff44c
14+ checksum=4343107ad1097a35e106092b79e5dd87027142c6fba5e4486b1d1d44d5499f84
1415make_check=no # tests require generating fixtures from remote repositories
1516
16- post_build() {
17- # Build libtree-sitter, since do_build builds the tree-sitter CLI.
17+ post_patch() {
18+ perl -i -0pe 's/\[\[package\]\]\nname = "rquickjs.*?(?=\[\[package\]\]|\z)//gs' Cargo.lock
19+ perl -i -0pe 's/ "rquickjs",\n//g' Cargo.lock
20+ }
21+
22+ do_build() {
23+ cargo auditable build --release --offline --no-default-features \
24+ --target ${RUST_TARGET} --manifest-path=crates/cli/Cargo.toml
1825 make
1926}
2027
You can’t perform that action at this time.
0 commit comments