Skip to content

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
@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.

4 participants