Skip to content

Commit 14e44a5

Browse files
committed
Mark a UTF8Span test unavailable on watchOS.
Fixes rdar://158517336 - Swift CI: oss-swift_tools-RA_stdlib-DA_test-device-non_executable
1 parent 7642d41 commit 14e44a5

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)