Skip to content

Re-add ContiguousBytes.withBytes protocol requirement#2030

Merged
jmschonfeld merged 1 commit into
swiftlang:release/6.4.xfrom
jmschonfeld:cb-proto-req
Jun 10, 2026
Merged

Re-add ContiguousBytes.withBytes protocol requirement#2030
jmschonfeld merged 1 commit into
swiftlang:release/6.4.xfrom
jmschonfeld:cb-proto-req

Conversation

@jmschonfeld

Copy link
Copy Markdown
Contributor

Re-lands the withBytes protocol requirement on ContiguousBytes

Motivation:

Now that swiftlang/swift#87227 is resolved, we can re-land this change

Modifications:

Uncomments the withBytes protocol requirement for ContiguousBytes

Result:

Now, ContiguousBytes conformers can override the default implementation of withBytes

Testing:

Verified that the build still passes and will confirm that clients build successfully

@jmschonfeld jmschonfeld requested a review from a team as a code owner June 9, 2026 23:02
@jmschonfeld

Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@jmschonfeld

Copy link
Copy Markdown
Contributor Author

Confirmed that the toolchain now builds successfully and there are no client build failures

@jmschonfeld jmschonfeld merged commit f580698 into swiftlang:release/6.4.x Jun 10, 2026
24 checks passed
@jmschonfeld jmschonfeld deleted the cb-proto-req branch June 10, 2026 16:04
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