Skip to content

[6.2] Use mergeable symbols in embedded #8757

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

Closed

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Jun 3, 2025

Cherry-pick of #8654.

Explanation: To workaround proper support for the Embedded Swift linkage model in SwiftPM, this PR updates the build plan to include -Xfrontend -mergeable symbols when building Embedded targets. This is a workaround/stop-gap solution until we can implement #8653. Fixes: #8648

Scope: limited to Embedded Swift support.
Risk: low due to limited scope.
Testing: New automated tests added to the test suite.
Issue: rdar://151021042
Reviewer: @dschaefer2

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov marked this pull request as ready for review June 3, 2025 13:23
@MaxDesiatov MaxDesiatov added embedded Support for Embedded Swift build system Changes to interactions with build systems labels Jun 3, 2025
@MaxDesiatov
Copy link
Contributor Author

Closing as superseded by #8754

@MaxDesiatov MaxDesiatov closed this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Changes to interactions with build systems embedded Support for Embedded Swift swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants