GNU bug report logs - #78754
Tree-sitter started versioning their shared library filenames

Previous Next

Package: emacs;

Reported by: Peter Oliver <p.d.oliver <at> mavit.org.uk>

Date: Tue, 10 Jun 2025 18:53:04 UTC

Severity: normal

Done: Yuan Fu <casouri <at> gmail.com>

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stéphane Marks <shipmints <at> gmail.com>
Cc: casouri <at> gmail.com, p.d.oliver <at> mavit.org.uk, 78754 <at> debbugs.gnu.org
Subject: bug#78754: Tree-sitter started versioning their shared library filenames
Date: Wed, 11 Jun 2025 15:41:00 +0300
> 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.




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.