Skip to content

do not import stdatomic as it doesn't work with c++ interop on windows #830

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 2 commits into from
Aug 6, 2024

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Aug 6, 2024

…c++ interop enabled

Works around swiftlang/swift#75720

@hyp
Copy link
Contributor Author

hyp commented Aug 6, 2024

Tested together witH:
swiftlang/swift#75721

@hyp
Copy link
Contributor Author

hyp commented Aug 6, 2024

CC @compnerd

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunate, but lets get this fixed up. We should pull this into 6.0 as well.

@hyp
Copy link
Contributor Author

hyp commented Aug 6, 2024

@swift-ci please test

@hyp hyp changed the title [windows] do not import stdatomic on windows as it doesn't work with … do not import stdatomic on windows as it doesn't work with c++ interop on windows Aug 6, 2024
@hyp hyp changed the title do not import stdatomic on windows as it doesn't work with c++ interop on windows do not import stdatomic as it doesn't work with c++ interop on windows Aug 6, 2024
@jmschonfeld jmschonfeld merged commit 8bf4cb0 into swiftlang:main Aug 6, 2024
3 checks passed
cthielen pushed a commit to cthielen/swift-foundation that referenced this pull request Nov 8, 2024
swiftlang#830)

* [windows] do not import stdatomic on windows as it doesn't work with c++ interop enabled

Works around swiftlang/swift#75720

* remove the stdatomic include alltogether
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.

3 participants