Skip to content

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