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

Add library evolution support #265

Open
NathanJPhillips opened this issue Mar 12, 2024 · 2 comments
Open

Add library evolution support #265

NathanJPhillips opened this issue Mar 12, 2024 · 2 comments

Comments

@NathanJPhillips
Copy link

It should be noted that I'm not an expert so it may be something I'm doing wrong, but when I enable module stability in my library project that uses Sodium I get the following warning in my build logs. Is this something that needs to be enabled in the swift-sodium repository? If so, is there enough demand for this that it's worth somebody taking the time to do it?

warning: module 'Sodium' was not compiled with library evolution support; using it means binary compatibility for 'YourProjectName' can't be guaranteed
@johnalanwoods
Copy link
Contributor

I don't think this is needed, per:

Library evolution support should only be used when a framework is going to be built and updated separately from its clients. In this scenario, a client built against an old version of the framework can be run with a new version of the framework without being recompiled.

@NathanJPhillips
Copy link
Author

Not sure why that means it's not needed. When I build my framework that references Sodium it seems to want to build and include Sodium in the package too. Again, maybe that's what I'm doing wrongly but I didn't explicitly choose that behaviour.

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

No branches or pull requests

2 participants