Skip to content

[Windows] Avoid linking with swiftWinSDK.dll #2685

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

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jun 14, 2024

Avoid import WinSDK in swift sources or #include in headers. This is to avoid linking with Swift overlay library (swiftWinSDK.dll) so swift-frontend with plugins won't depend on it.

@rintaro
Copy link
Member Author

rintaro commented Jun 14, 2024

@swift-ci Please test

@rintaro rintaro force-pushed the windows-no-swiftwinsdk branch from fb89ed1 to d088cbe Compare June 14, 2024 17:54
@rintaro
Copy link
Member Author

rintaro commented Jun 14, 2024

@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Jun 14, 2024

@swift-ci Please test Windows

@rintaro rintaro force-pushed the windows-no-swiftwinsdk branch from d088cbe to 3efa236 Compare June 14, 2024 19:53
@rintaro
Copy link
Member Author

rintaro commented Jun 14, 2024

@swift-ci Please test

1 similar comment
@rintaro
Copy link
Member Author

rintaro commented Jun 14, 2024

@swift-ci Please test

Avoid 'import WinSDK' in swift sources or `#include` in headers.
This is to avoid linking with Swift overlay library (swiftWinSDK.dll)
so swift-frontend with plugins won't depends on it.
@rintaro rintaro force-pushed the windows-no-swiftwinsdk branch from 3efa236 to d360086 Compare June 14, 2024 21:06
@rintaro
Copy link
Member Author

rintaro commented Jun 14, 2024

@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Jun 14, 2024

@swift-ci Please test Windows

@rintaro
Copy link
Member Author

rintaro commented Jun 15, 2024

swiftlang/swift#74439
@swift-ci please test Linux

@rintaro rintaro marked this pull request as ready for review June 15, 2024 01:42
@rintaro rintaro requested review from ahoppen and bnbarham as code owners June 15, 2024 01:42
@rintaro rintaro enabled auto-merge June 15, 2024 01:42
@rintaro
Copy link
Member Author

rintaro commented Jun 15, 2024

swiftlang/swift#74439
@swift-ci please test Linux

@rintaro rintaro merged commit 9a49bb7 into swiftlang:main Jun 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants