@@ -222,7 +222,7 @@ public struct UnsafePointer<Pointee: ~Copyable>: _Pointer, Copyable {
222
222
223
223
extension UnsafePointer {
224
224
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
225
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
225
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
226
226
@usableFromInline
227
227
internal init ( _ _rawValue: Builtin . RawPointer ) {
228
228
self . _rawValue = _rawValue
@@ -247,7 +247,7 @@ extension UnsafePointer where Pointee: ~Copyable {
247
247
248
248
extension UnsafePointer {
249
249
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
250
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
250
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
251
251
@usableFromInline
252
252
internal func deallocate( ) {
253
253
// Passing zero alignment to the runtime forces "aligned
@@ -273,7 +273,7 @@ extension UnsafePointer where Pointee: ~Copyable {
273
273
274
274
extension UnsafePointer {
275
275
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
276
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
276
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
277
277
@usableFromInline
278
278
internal var pointee : Pointee {
279
279
unsafeAddress {
@@ -301,7 +301,7 @@ extension UnsafePointer where Pointee: ~Copyable {
301
301
302
302
extension UnsafePointer {
303
303
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
304
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
304
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
305
305
@usableFromInline
306
306
internal subscript( i: Int ) -> Pointee {
307
307
@_transparent
@@ -405,7 +405,7 @@ extension UnsafePointer {
405
405
// of `withMemoryRebound<T, Result>(to:capacity:_:)`, and provides
406
406
// an entry point for any binary linked against the stdlib binary
407
407
// for Swift 5.6 and older.
408
- @available ( swift, obsoleted: 5.11 )
408
+ @available ( swift, obsoleted: 6.0 )
409
409
@_silgen_name ( " $sSP17withMemoryRebound2to8capacity_qd_0_qd__m_Siqd_0_SPyqd__GKXEtKr0_lF " )
410
410
@usableFromInline
411
411
internal func _legacy_se0333_withMemoryRebound< T, Result> (
@@ -701,36 +701,36 @@ public struct UnsafeMutablePointer<Pointee: ~Copyable>: _Pointer, Copyable {
701
701
702
702
extension UnsafeMutablePointer {
703
703
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
704
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
704
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
705
705
@usableFromInline
706
706
internal init ( _ _rawValue: Builtin . RawPointer ) {
707
707
self . _rawValue = _rawValue
708
708
}
709
709
710
710
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
711
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
711
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
712
712
@usableFromInline
713
713
internal init ( @_nonEphemeral mutating other: UnsafePointer < Pointee > ) {
714
714
self . _rawValue = other. _rawValue
715
715
}
716
716
717
717
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
718
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
718
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
719
719
@usableFromInline
720
720
internal init ? ( @_nonEphemeral mutating other: UnsafePointer < Pointee > ? ) {
721
721
guard let unwrapped = other else { return nil }
722
722
self . init ( mutating: unwrapped)
723
723
}
724
724
725
725
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
726
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
726
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
727
727
@usableFromInline
728
728
internal init ( @_nonEphemeral _ other: UnsafeMutablePointer < Pointee > ) {
729
729
self . _rawValue = other. _rawValue
730
730
}
731
731
732
732
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
733
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
733
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
734
734
@usableFromInline
735
735
internal init ? ( @_nonEphemeral _ other: UnsafeMutablePointer < Pointee > ? ) {
736
736
guard let unwrapped = other else { return nil }
@@ -789,7 +789,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
789
789
790
790
extension UnsafeMutablePointer {
791
791
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
792
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
792
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
793
793
@usableFromInline
794
794
internal static func allocate(
795
795
capacity count: Int
@@ -833,7 +833,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
833
833
834
834
extension UnsafeMutablePointer {
835
835
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
836
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
836
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
837
837
@usableFromInline
838
838
internal func deallocate( ) {
839
839
// Passing zero alignment to the runtime forces "aligned
@@ -868,7 +868,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
868
868
}
869
869
870
870
extension UnsafeMutablePointer {
871
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
871
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
872
872
@usableFromInline
873
873
internal var pointee : Pointee {
874
874
@_transparent unsafeAddress {
@@ -923,7 +923,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
923
923
}
924
924
925
925
extension UnsafeMutablePointer {
926
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
926
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
927
927
@usableFromInline
928
928
internal func initialize( to value: Pointee ) { // Note: `value` was __shared!
929
929
Builtin . initialize ( value, self . _rawValue)
@@ -955,7 +955,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
955
955
956
956
extension UnsafeMutablePointer {
957
957
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
958
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
958
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
959
959
@usableFromInline
960
960
internal func move( ) -> Pointee {
961
961
return Builtin . take ( _rawValue)
@@ -1096,7 +1096,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
1096
1096
1097
1097
extension UnsafeMutablePointer {
1098
1098
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
1099
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
1099
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
1100
1100
@usableFromInline
1101
1101
internal func moveInitialize(
1102
1102
@_nonEphemeral from source: UnsafeMutablePointer , count: Int
@@ -1199,7 +1199,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
1199
1199
1200
1200
extension UnsafeMutablePointer {
1201
1201
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
1202
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
1202
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
1203
1203
@usableFromInline
1204
1204
@_silgen_name ( " $sSp10moveAssign4from5countySpyxG_SitF " ) // To maintain ABI with moveAssign below
1205
1205
internal func moveUpdate(
@@ -1253,7 +1253,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
1253
1253
1254
1254
extension UnsafeMutablePointer {
1255
1255
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
1256
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
1256
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
1257
1257
@usableFromInline
1258
1258
internal func deinitialize( count: Int ) -> UnsafeMutableRawPointer {
1259
1259
_debugPrecondition ( count >= 0 , " UnsafeMutablePointer.deinitialize with negative count " )
@@ -1354,7 +1354,7 @@ extension UnsafeMutablePointer {
1354
1354
// of `withMemoryRebound<T, Result>(to:capacity:_:)`, and provides
1355
1355
// an entry point for any binary linked against the stdlib binary
1356
1356
// for Swift 5.6 and older.
1357
- @available ( swift, obsoleted: 5.11 )
1357
+ @available ( swift, obsoleted: 6.0 )
1358
1358
@_silgen_name ( " $sSp17withMemoryRebound2to8capacity_qd_0_qd__m_Siqd_0_Spyqd__GKXEtKr0_lF " )
1359
1359
@usableFromInline
1360
1360
internal func _legacy_se0333_withMemoryRebound< T, Result> (
@@ -1397,7 +1397,7 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
1397
1397
1398
1398
extension UnsafeMutablePointer {
1399
1399
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
1400
- @available ( swift, obsoleted: 5.11 ) // Legacy ABI compatibility
1400
+ @available ( swift, obsoleted: 6.0 ) // Legacy ABI compatibility
1401
1401
@usableFromInline
1402
1402
internal subscript( i: Int ) -> Pointee {
1403
1403
@_transparent
0 commit comments