We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b886d0b commit b78b56eCopy full SHA for b78b56e
src/main/java/io/github/treesitter/jtreesitter/internal/ChainedLibraryLookup.java
@@ -20,7 +20,8 @@ public SymbolLookup get(Arena arena) {
20
for (var libraryLookup : serviceLoader) {
21
lookup = lookup.or(libraryLookup.get(arena));
22
}
23
- return lookup.or(findLibrary(arena)).or(Linker.nativeLinker().defaultLookup());
+
24
+ return lookup.or((name) -> findLibrary(arena).find(name)).or(Linker.nativeLinker().defaultLookup());
25
26
27
private static SymbolLookup findLibrary(Arena arena) {
0 commit comments