Skip to content

[embedded] Start building Synchronization in embedded Swift mode #72293

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 14, 2024

Conversation

kubamracek
Copy link
Contributor

Straightforward enablement of the Synchronization module for Embedded Swift. It turns out that this module doesn't depend on anything else than the Builtin module. The atomic builtins only have a dependency on compiler-rt, and we have already passed that bridge with the atomic refcounting in the embedded runtime.

@kubamracek kubamracek force-pushed the embedded-synchronization branch from d2e98e9 to 48b8228 Compare March 13, 2024 17:07
@stephentyrone stephentyrone requested a review from Azoy March 13, 2024 17:52
@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek added the embedded Embedded Swift label Mar 13, 2024
@kubamracek kubamracek enabled auto-merge March 13, 2024 22:30
@kubamracek kubamracek merged commit d5e5723 into swiftlang:main Mar 14, 2024
drodriguez added a commit that referenced this pull request Mar 16, 2024
#72356)

PR #72293 added the synchronization module to embedded, and it was added
as dependency of `ALL`, but not of the `-test-depends` targets. If one
is using the `-test-depends` targets, the synchronization library for
embedded will not be build, and the test will fail.

This is a follow up to #72329. I had a partial build to test that, and
I did not notice this was also missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embedded Embedded Swift
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants