Skip to content

Commit 8c23827

Browse files
committed
Introduce an ABI checker that diffs symbols
back to x86_64
1 parent 0042201 commit 8c23827

File tree

6 files changed

+27735
-7
lines changed

6 files changed

+27735
-7
lines changed

stdlib/public/core/Algorithm.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,8 @@ extension EnumeratedSequence: Sequence {
158158
return Iterator(_base: _base.makeIterator())
159159
}
160160
}
161+
162+
@available(SwiftStdlib 5.11, *)
163+
public func hello() {
164+
print("hello!")
165+
}

stdlib/public/core/LegacyABI.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
// This file contains non-API (or underscored) declarations that are needed to
1414
// be kept around for ABI compatibility
1515

16-
extension Unicode.UTF16 {
17-
@available(*, unavailable, renamed: "Unicode.UTF16.isASCII")
18-
@inlinable
19-
public static func _isASCII(_ x: CodeUnit) -> Bool {
20-
return Unicode.UTF16.isASCII(x)
21-
}
22-
}
16+
// extension Unicode.UTF16 {
17+
// @available(*, unavailable, renamed: "Unicode.UTF16.isASCII")
18+
// @inlinable
19+
// public static func _isASCII(_ x: CodeUnit) -> Bool {
20+
// return Unicode.UTF16.isASCII(x)
21+
// }
22+
// }
2323

2424
@available(*, unavailable, renamed: "Unicode.UTF8.isASCII")
2525
@inlinable

0 commit comments

Comments
 (0)