File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -206,19 +206,13 @@ let package = Package(
206
206
. enableExperimentalFeature( " AccessLevelOnImport " )
207
207
] + availabilityMacros + featureSettings
208
208
) ,
209
+
210
+ . testTarget(
211
+ name: " FoundationMacrosTests " ,
212
+ dependencies: [
213
+ " FoundationMacros "
214
+ ] ,
215
+ swiftSettings: availabilityMacros + featureSettings + testOnlySwiftSettings
216
+ )
209
217
]
210
218
)
211
-
212
- // https://github.com/apple/swift-package-manager/issues/7174
213
- // Test macro targets result in multiple definitions of `main` on Windows.
214
- #if !os(Windows)
215
- package . targets. append ( contentsOf: [
216
- . testTarget(
217
- name: " FoundationMacrosTests " ,
218
- dependencies: [
219
- " FoundationMacros "
220
- ] ,
221
- swiftSettings: availabilityMacros + featureSettings + testOnlySwiftSettings
222
- )
223
- ] )
224
- #endif
You can’t perform that action at this time.
0 commit comments