Skip to content
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

The --static-swift-stdlib should apply to dylibs #7501

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

neonichu
Copy link
Member

Dynamic libraries are also linking the stdlib, so they should be treated the same as executables w.r.t. to this option.

Dynamic libraries are also linking the stdlib, so they should be treated the same as executables w.r.t. to this option.
@neonichu
Copy link
Member Author

@swift-ci please test

@neonichu
Copy link
Member Author

Not entirely sure how to test this, I mostly came across it by seeing that the warning isn't shown when building dylibs on macOS.

@MaxDesiatov MaxDesiatov added the needs tests This change needs test coverage label Apr 26, 2024
@MaxDesiatov
Copy link
Member

Wouldn't build plan generation with this option enabled cover it?

@MaxDesiatov MaxDesiatov added build system Changes to interactions with build systems bug labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug build system Changes to interactions with build systems needs tests This change needs test coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants