Skip to content

[6.2][embedded][overlay] _Builtin_float and Synchronization cannot be imported in embedded Swift mode #82117

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

Open
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

ian-twilightcoder
Copy link
Contributor

  • Explanation: This change fixes the embedded module build for the _Builtin_float and Synchronization modules so that they can be used with iOS target triples.
  • Scope: Embedded Swift using some particular target triples.
  • Original PRs: [embedded][overlay] _Builtin_float and Synchronization cannot be imported in embedded Swift mode #82094
  • Risk: Risk that the _Builtin_float and Synchronization modules still don't build properly in embedded mode.
  • Testing: Tested that the modules now import when building with iOS target triples.

@ian-twilightcoder ian-twilightcoder requested a review from a team as a code owner June 9, 2025 20:54
… imported in embedded Swift mode

The _Builtin_float and Synchronization modules are getting the SDK_NAME encoded in their embedded modules, preventing them from being used outside of macOS in embedded mode.

rdar://152665402
@ian-twilightcoder ian-twilightcoder force-pushed the builtin-float-embedded branch from aa971ec to 83577a7 Compare June 9, 2025 21:05
@ian-twilightcoder
Copy link
Contributor Author

@swift-ci test

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