-
Notifications
You must be signed in to change notification settings - Fork 10.5k
IRGen: internalise well known types with static linking #82170
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
@swift-ci please smoke test |
When statically linking the standard library ensure that we emit the well known metadata and accessors with internal linkage. This fixes a number of warnings about incorrect DLL storage when building Foundation on Windows for static linking.
@swift-ci please smoke test |
@swift-ci please smoke test macOS platform |
@swift-ci please smoke test Linux platform |
@asl would you happen to have any ideas of why this might be causing the Differentiation build to fail only on Linux? |
Interesting. Tagging @kovdan01 – he is on Linux doing stuff around autodiff. |
@compnerd @asl TLDR: I've submitted #82412 fixing that. Details. It looks like that we have a Such an unsafe incorrect casts explains why we see the issue only on Linux. We just try to run #82412 contains a fix for that. In |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@swift-ci please smoke test Linux platform |
When statically linking the standard library ensure that we emit the well known metadata and accessors with internal linkage. This fixes a number of warnings about incorrect DLL storage when building Foundation on Windows for static linking.