Skip to content

Commit 00bcd87

Browse files
authored
[ST-0017] Add a future direction to move to RawSpan. (#3013)
1 parent ca1534a commit 00bcd87

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

proposals/testing/0017-image-attachment-consolidation.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,13 @@ No changes.
151151

152152
## Future directions
153153

154-
N/A
154+
- Migrating from `UnsafeRawBufferPointer` to `RawSpan`. We shipped the initial
155+
attachments feature using `UnsafeRawBufferPointer` before `RawSpan` was
156+
available and, in particular, before it was back-deployed to earlier Apple
157+
platforms. We want the attachments API to consistently use the same types at
158+
all layers, so adoption of `RawSpan` only in the image attachments layer is a
159+
non-goal. In the future, we may wish to deprecate the existing APIs that use
160+
`UnsafeRawBufferPointer` and introduce replacements that use `RawSpan`.
155161

156162
## Alternatives considered
157163

0 commit comments

Comments
 (0)