Skip to content

Commit c098343

Browse files
coffmarkbnbarham
authored andcommitted
Add Sendable annotations to SwiftVersion (swiftlang#7527)
I fixed warning appears when building with Swift 6. (cherry picked from commit 32442c6)
1 parent af6df17 commit c098343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Basics/SwiftVersion.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import TSCclibc
1717
#endif
1818

19-
public struct SwiftVersion {
19+
public struct SwiftVersion: Sendable {
2020
/// The version number.
2121
public var version: (major: Int, minor: Int, patch: Int)
2222

0 commit comments

Comments
 (0)