Skip to content

Commit f9171bc

Browse files
committed
Gate build tool code that wont build on windows <6.1
1 parent d7f0325 commit f9171bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/test/targets/Sources/BuildToolExecutableTarget/BuildToolExecutableTarget.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if !(os(Windows) && swift(<6.1))
12
import Foundation
23

34
@main
@@ -34,4 +35,5 @@ struct JSONFormat: Decodable {
3435
enum CodeGeneratorError: Error {
3536
case invalidArguments
3637
case invalidData
37-
}
38+
}
39+
#endif

0 commit comments

Comments
 (0)