Skip to content

Base: correct TLS handling on Windows x86 #4698

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
Jan 26, 2023

Conversation

compnerd
Copy link
Member

The FLS destructors are required to be __stdcall calling convention rather than __cdecl. Correct the definitions for them to repair the build on Windows x86 after a newer compiler identified this issue. This attribute is ignored on non-x86 architectures and thus is safe to apply unconditionally.

The FLS destructors are required to be `__stdcall` calling convention
rather than `__cdecl`.  Correct the definitions for them to repair the
build on Windows x86 after a newer compiler identified this issue.  This
attribute is ignored on non-x86 architectures and thus is safe to apply
unconditionally.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit 28b2f25 into swiftlang:main Jan 26, 2023
@compnerd compnerd deleted the tls-convention branch January 26, 2023 18:26
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.

1 participant