GNU bug report logs -
#78754
Tree-sitter started versioning their shared library filenames
Previous Next
Full log
Message #28 received at 78754 <at> debbugs.gnu.org (full text, mbox):
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Thu, 12 Jun 2025 00:03:13 -0700
> Cc: Stéphane Marks <shipmints <at> gmail.com>,
> 78754 <at> debbugs.gnu.org,
> p.d.oliver <at> mavit.org.uk
>
>
>
> > On Jun 11, 2025, at 5:41 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> >> Cc: 78754-done <at> debbugs.gnu.org
> >> From: Stéphane Marks <shipmints <at> gmail.com>
> >> Date: Wed, 11 Jun 2025 09:49:42 +0100
> >>
> >> Thanks for the heads-up! I pushed a change to emacs-30 to look for all supported versions. Eg, if the
> >> tree-sitter library supports language version 13 to 15, Emacs will try to look for
> >> libtree-sitter-foo.so.13.0, libtree-sitter-foo.so.14.0, and libtree-sitter-foo.so.15.0.
> >>
> >> This is indeed a welcome improvement. Unless I'm reading it wrong, it looks like the ABI tests go 0.0 forward
> >> through 15 (modulo what's intrinsically supported). Should the tests be reversed so the most recent ABI
> >> takes precedence?
> >
> > Indeed, I think the loop should be in the opposite direction, from
> > the highest supported ABI version to the lowest.
>
> We’re adding candidates using Fcons, so candidates added later are in the front of the list, no?
If it's used in the same order, then yes. But please make sure that's
what happens.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.