Skip to content

Commit 21429e3

Browse files
authored
Enable MemberImportVisibility check on all targets (#183)
Enable MemberImportVisibility check on all targets. Use a standard string header and footer to bracket the new block for ease of updating in the future with scripts.
1 parent 404d5c0 commit 21429e3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Package.swift

+11
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,14 @@ for target in package.targets {
117117
settings.append(.enableExperimentalFeature("StrictConcurrency=complete"))
118118
target.swiftSettings = settings
119119
}
120+
121+
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
122+
for target in package.targets {
123+
if target.type != .plugin {
124+
var settings = target.swiftSettings ?? []
125+
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
126+
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
127+
target.swiftSettings = settings
128+
}
129+
}
130+
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //

Tests/IntegrationTests/KafkaTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import Atomics
1616
@_spi(Internal) import Kafka
1717
import NIOCore
1818
import ServiceLifecycle
19+
import UnixSignals
1920
import XCTest
2021

2122
import struct Foundation.UUID

0 commit comments

Comments
 (0)