Skip to content

Commit 1a7a88b

Browse files
authored
Merge pull request swiftlang#83821 from atrick/fix-watch-test
Mark a UTF8Span test unavailable on watchOS.
2 parents 450f43f + 14e44a5 commit 1a7a88b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/SILOptimizer/lifetime_dependence/lifetime_dependence_scope_fixup.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ func testWrite(_ w: inout ArrayWrapper) {
329329
}
330330

331331
// Test store_borrow extension which is required when the addressable UTF8View is extended over the Span's uses.
332+
//
333+
// UTF8Span is unavailable on watchOS as of the introduction of this test.
334+
@available(watchOS, unavailable)
332335
@available(SwiftStdlib 6.2, *)
333336
func testSpanOfBorrowByAddress(_ i: Int) -> Int {
334337
let span = String(i).utf8.span

0 commit comments

Comments
 (0)