Resolve some leftover build issues

This commit is contained in:
Karoy Lorentey committed 2023-03-23 14:23:45 -07:00
1 parent 3cbf81976d
commit a0666cdcce
2 files changed
+5 -1

No files matched your search

+3 -1
View File
@@ -163,7 +163,9 @@ extension Array where Element == CustomTarget {
name: name,
dependencies: dependencies,
path: "Tests",
exclude: targets.flatMap { t in
exclude: [
"README.md",
] + targets.flatMap { t in
t.exclude.map { "\(t.name)/\($0)" }
},
sources: targets.map { "\($0.name)" },
@@ -14,6 +14,7 @@ import _CollectionsUtilities
#endif
extension RandomAccessCollection {
#if SWIFT_PACKAGE
@inline(__always)
internal func _index(at offset: Int) -> Index {
index(startIndex, offsetBy: offset)
@@ -28,6 +29,7 @@ extension RandomAccessCollection {
internal subscript(_offset offset: Int) -> Element {
self[_index(at: offset)]
}
#endif
@inline(__always)
internal func _indexRange(at offsets: Range<Int>) -> Range<Index> {