-
Notifications
You must be signed in to change notification settings - Fork 96
Fix Xcode 15.3 Release Crash #108
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
Conversation
A SIL function we load seems to be unavailable, so let's limit old key path printing to DEBUG builds.
A SIL function we load seems to be unavailable, so let's limit old key path printing to DEBUG builds.
The use of _silgen_name with a Swift runtime function (or also importing a C header file with runtime functions) is unsupported and strongly discouraged.
Swift compilers starting with Xcode 15.3 allow for the use of the Builtin module. In your case, you can use the Something like the following should work (I have only tested that this compiles with Xcode 15.3):
And probably a Package file like (not a swift package configuration expert by any means):
|
@aschwaighofer Thanks for chiming in! Good to know about that option. I'm not sure Luckily we think we can delete the original code path, since it was mainly there for Swift <5.9, and we don't mind degrading the debug info for earlier versions of Swift. |
A SIL function we load seems to be unavailable, so let's limit old key path printing to DEBUG builds.
A SIL function we load seems to be unavailable, so let's limit old key path printing to DEBUG builds.
Problem was in swift-custom-dump package. And it was fixed in this PR: pointfreeco/swift-custom-dump#108.
Problem was in swift-custom-dump package. And it was fixed in this PR: pointfreeco/swift-custom-dump#108.
A SIL function we load seems to be unavailable, so let's limit old key path printing to DEBUG builds.
Fixes #107.