Skip to content

Commit 32442c6

Browse files
authored
Add Sendable annotations to SwiftVersion (#7527)
I fixed warning appears when building with Swift 6.
1 parent 605e228 commit 32442c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Basics/SwiftVersion.swift

Lines changed: 1 addition & 1 deletion
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)