Skip to content

Fix build break due to calling convention mismatch on Windows #784

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
Mar 31, 2023
Merged

Fix build break due to calling convention mismatch on Windows #784

merged 1 commit into from
Mar 31, 2023

Conversation

tristanlabelle
Copy link
Contributor

@tristanlabelle tristanlabelle commented Mar 31, 2023

My local Windows libdispatch build recently started failing due to a calling convention mismatch with the function we use as the PINIT_ONCE_FN argument of a InitOnceExecuteOnce invocation. The fix is to specify it explicitly.

@compnerd
Copy link
Member

@swift-ci please test

@tristanlabelle tristanlabelle changed the title Fix build break due to calling convention mismatch for PINIT_ONCE_FN Fix build break due to calling convention mismatch on Windows Mar 31, 2023
@compnerd compnerd merged commit fa1b4ae into swiftlang:main Mar 31, 2023
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