Skip to content

Commit 7fa2de1

Browse files
committed
Revert executable target code on Windows
1 parent 2371e97 commit 7fa2de1

File tree

1 file changed

+5
-1
lines changed
  • assets/test/targets/Sources/ExecutableTarget

1 file changed

+5
-1
lines changed

assets/test/targets/Sources/ExecutableTarget/main.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if os(Windows) && swift(<6.0)
2+
print("Executable Target Hello World!")
3+
#else
14
import Foundation
25

36
@main
@@ -36,4 +39,5 @@ struct JSONFormat: Decodable {
3639
enum CodeGeneratorError: Error {
3740
case invalidArguments
3841
case invalidData
39-
}
42+
}
43+
#endif

0 commit comments

Comments
 (0)