indexstore-db
indexstore-db copied to clipboard
Index database library for use with sourcekit-lsp
I'm following the directions in the README, but when I get to `swift build` I see a number of import errors: ``` ╰─ swift build Building for debugging... /Users/stevenhepting/workspace/indexstore-db/lib/Support/PatternMatching.cpp:13:10: fatal...
Since Musl is sufficiently different from Glibc (see https://wiki.musl-libc.org/functional-differences-from-glibc.html), it requires a different import, which now should be applied to files that have `import Glibc` in them.
It does not affect build, but an error will be reported.
__Explanation:__ Now that this new overlay was merged into the 6.0 compiler too in swiftlang/swift#74758, this adds the overlay to the one file that currently adds `import Glibc`. __Scope:__ Add...
on linux, at `swift-5.10-RELEASE` at least, it seems `IndexStoreDB.init(storePath:databasePath:library:delegate:useExplicitOutputUnits:waitUntilDoneInitializing:readonly:enableOutOfDateFileWatching:listenToUnitEvents:prefixMappings:)` will fail silently if the `storePath` is incorrect. could the initializer check if an index store actually exists at that path?