Skip to content

Conversation

hnrklssn
Copy link
Contributor

The initializers for RawSpan and UnsafeRawBufferPointer take an UnsafeRawPointer, so when the underlying function returns an OpaquePointer we need to cast it first.

rdar://162091516

This is extracted from #84385, which is currently blocked by other diagnostics.

The initializers for RawSpan and UnsafeRawBufferPointer take an
UnsafeRawPointer, so when the underlying function returns an
OpaquePointer we need to cast it first.

rdar://162091516
@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test

@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test

@hnrklssn
Copy link
Contributor Author

@swift-ci please smoke test windows platform

@hnrklssn hnrklssn enabled auto-merge October 13, 2025 15:25
@hnrklssn hnrklssn merged commit bae041c into swiftlang:main Oct 13, 2025
3 checks passed
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