Skip to content

[embedded] Make -mergeable-symbols the default for Embedded Swift #80978

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 3 commits into
base: main
Choose a base branch
from

Conversation

kubamracek
Copy link
Contributor

I have experimented with -mergeable-symbols on some larger projects, and it seems like it does retain dead-stripping as desired, and it seems like the easiest path forward that allows some level of separate compilations (separate .o/.a builds for libraries) in Embedded Swift. Let's make it enabled by default.

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@rauhul
Copy link
Member

rauhul commented Apr 22, 2025

Not sure I love this...

@kubamracek kubamracek force-pushed the embedded-mergeable-by-default branch from 8b72edd to f1c342e Compare April 22, 2025 15:48
@kubamracek
Copy link
Contributor Author

@swift-ci please 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.

2 participants