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

swift_import: always link the import. #1343

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

brentleyjones
Copy link
Collaborator

swift_library is also moving in this direction.

SwiftPM works by linking all the .o files, so this should end up in a state that seem users familiar with SwiftPM/Xcode will expect. Otherwise an @objc class might not be findable by name only, or a protocol conformance might not get included leading to confusing runtime problems.

PiperOrigin-RevId: 527908878
(cherry picked from commit 2cc542a)

`swift_library` is also moving in this direction.

SwiftPM works by linking all the .o files, so this should end up in a state
that seem users familiar with SwiftPM/Xcode will expect. Otherwise an `@objc`
class might not be findable by name only, or a protocol conformance might not
get included leading to confusing runtime problems.

PiperOrigin-RevId: 527908878
(cherry picked from commit 2cc542a)
@brentleyjones brentleyjones merged commit afb731c into master Oct 4, 2024
14 checks passed
@brentleyjones brentleyjones deleted the bj/swift_import-always-link-the-import branch October 4, 2024 22:09
@brentleyjones
Copy link
Collaborator Author

Technically this is a breaking change. Adding the label, but I don't know if this alone would be enough for us to bump our version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants