Skip to content

Conversation

artem-shvetsov
Copy link

@artem-shvetsov artem-shvetsov commented Mar 1, 2025

When trying to generate .swiftinterface (with xcodebuild BUILD_LIBRARY_FOR_DISTRIBUTION=YES) for library evolution tracking, compile errors occur due to using a big number of @inlinable and @usabelFromInline declarations

@artem-shvetsov
Copy link
Author

Pls consider to accept this PR to make the library evolution tracking possible

Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for filing this. Unfortunately, we don’t supply a stable ABI for this library, and so we don’t support using BUILD_LIBRARY_FOR_DISTRIBUTION. The performance impact of removing these annotations is too high for us to work with, sadly.

Can you find a way to avoid setting that flag for this library? You shouldn’t actually need a stable ABI for most use-cases.

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