Skip to content

Commit 790a79e

Browse files
authored
Merge pull request #41247 from slavapestov/fix-abi-stability-test
Move a few lines from stability-stdlib-abi-with-asserts.test to stability-stdlib-abi-without-asserts.test
2 parents be9d93f + e687234 commit 790a79e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

test/api-digester/stability-stdlib-abi-with-asserts.test

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,4 @@ Struct _GlobalRuntimeFunctionCountersState is a new API without @available attri
6464
Struct _ObjectRuntimeFunctionCountersState is a new API without @available attribute
6565
Struct _RuntimeFunctionCounters is a new API without @available attribute
6666

67-
// These haven't actually been removed; they were replaced with @_alwaysEmitIntoClient
68-
// alternatives. The old silgen-name entry point was preserved under an alternative
69-
// source-level name. This causes a false positive with the ABI checker.
70-
// The symbols are still present at the ABI level. The symbols are also still present
71-
// at the source level. The association between them is simply no longer straightforward.
72-
Func UnsafeBufferPointer.withMemoryRebound(to:_:) has been removed
73-
Func UnsafeMutableBufferPointer.withMemoryRebound(to:_:) has been removed
74-
Func UnsafeMutablePointer.withMemoryRebound(to:capacity:_:) has been removed
75-
Func UnsafePointer.withMemoryRebound(to:capacity:_:) has been removed
76-
7767
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment above.)

test/api-digester/stability-stdlib-abi-without-asserts.test

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,14 @@ Protocol Collection has generic signature change from <Self : Swift.Sequence, Se
8080

8181
Protocol StringProtocol has generic signature change from <Self : Swift.BidirectionalCollection, Self : Swift.Comparable, Self : Swift.ExpressibleByStringInterpolation, Self : Swift.Hashable, Self : Swift.LosslessStringConvertible, Self : Swift.TextOutputStream, Self : Swift.TextOutputStreamable, Self.Element == Swift.Character, Self.Index == Swift.String.Index, Self.StringInterpolation == Swift.DefaultStringInterpolation, Self.SubSequence : Swift.StringProtocol, Self.UTF16View : Swift.BidirectionalCollection, Self.UTF8View : Swift.Collection, Self.UnicodeScalarView : Swift.BidirectionalCollection, Self.UTF16View.Element == Swift.UInt16, Self.UTF16View.Index == Swift.String.Index, Self.UTF8View.Element == Swift.UInt8, Self.UTF8View.Index == Swift.String.Index, Self.UnicodeScalarView.Element == Swift.Unicode.Scalar, Self.UnicodeScalarView.Index == Swift.String.Index, Self.SubSequence.UTF16View.Index == Swift.String.Index, Self.SubSequence.UTF8View.Index == Swift.String.Index, Self.SubSequence.UnicodeScalarView.Index == Swift.String.Index> to <Self : Swift.BidirectionalCollection, Self : Swift.Comparable, Self : Swift.ExpressibleByStringInterpolation, Self : Swift.Hashable, Self : Swift.LosslessStringConvertible, Self : Swift.TextOutputStream, Self : Swift.TextOutputStreamable, Self.Element == Swift.Character, Self.Index == Swift.String.Index, Self.StringInterpolation == Swift.DefaultStringInterpolation, Self.SubSequence : Swift.StringProtocol, Self.UTF16View : Swift.BidirectionalCollection, Self.UTF8View : Swift.Collection, Self.UnicodeScalarView : Swift.BidirectionalCollection, Self.UTF16View.Element == Swift.UInt16, Self.UTF16View.Index == Swift.String.Index, Self.UTF8View.Element == Swift.UInt8, Self.UTF8View.Index == Swift.String.Index, Self.UnicodeScalarView.Element == Swift.Unicode.Scalar, Self.UnicodeScalarView.Index == Swift.String.Index>
8282

83+
// These haven't actually been removed; they were replaced with @_alwaysEmitIntoClient
84+
// alternatives. The old silgen-name entry point was preserved under an alternative
85+
// source-level name. This causes a false positive with the ABI checker.
86+
// The symbols are still present at the ABI level. The symbols are also still present
87+
// at the source level. The association between them is simply no longer straightforward.
88+
Func UnsafeBufferPointer.withMemoryRebound(to:_:) has been removed
89+
Func UnsafeMutableBufferPointer.withMemoryRebound(to:_:) has been removed
90+
Func UnsafeMutablePointer.withMemoryRebound(to:capacity:_:) has been removed
91+
Func UnsafePointer.withMemoryRebound(to:capacity:_:) has been removed
92+
8393
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment above.)

0 commit comments

Comments
 (0)