File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -280,11 +280,16 @@ var package = Package(
280280
281281// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
282282for target in package . targets {
283- if target. type != . plugin {
283+ switch target. type {
284+ case . regular, . test, . executable:
284285 var settings = target. swiftSettings ?? [ ]
285286 // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
286287 settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) )
287288 target. swiftSettings = settings
289+ case . macro, . plugin, . system, . binary:
290+ ( ) // not applicable
291+ @unknown default :
292+ ( ) // we don't know what to do here, do nothing
288293 }
289294}
290295// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
You can’t perform that action at this time.
0 commit comments