-
Notifications
You must be signed in to change notification settings - Fork 304
LSP exports too many symbols #683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
rdar://103582935 |
@compnerd Is this still an issue? |
@ahoppen I can double check, but I expect it to be so. This is caused by the use of swift-syntax. The underlying issue is SPM. It does not have the concept of libraries, and the code is built incorrect. The result of that is that we try to export all public symbols in swift-syntax, which exceeds the 65535 symbol limit. We can build with CMake, but this is a problem that we need to resolve. |
Do we have a corresponding issue on the SwiftPM repository to track this? |
@MaxDesiatov 😧 making me do the work that I was trying to avoid! 😆 swiftlang/swift-package-manager#5597 is the issue (I just was being lazy and trying to not dig it up). |
ref #982 |
I have worked around this by building swift-syntax as a dynamic library ( |
Uh oh!
There was an error while loading. Please reload this page.
When building LSP with SPM we hit the export symbol limits:
The text was updated successfully, but these errors were encountered: