indexstore-db doesn't build on Windows
When building with SwiftPM, I get the following compile error:
C:\Users\dschaefer2\swift\src\indexstore-db\lib\Support\Logging.cpp:19:10: fatal error: 'dispatch/dispatch.h' file not found 19 | #include <dispatch/dispatch.h> | ^~~~~~~~~~~~~~~~~~~~~
This also breaks building sourcekit-lsp on Windows.
Tested with the 6.1 toolchain building source from main.
Unfortunately this is expected today :( See https://github.com/swiftlang/sourcekit-lsp/blob/main/CONTRIBUTING.md#windows
I'll leave open since ideally we would improve things here.
Ben also mentions this is a problem on Linux as well. I need to understand what changes needs to be done to the toolset to add in these paths automatically.