@@ -35,9 +35,10 @@ let availabilityMacros: [SwiftSetting] = versionNumbers.flatMap { version in
35
35
}
36
36
}
37
37
38
- let concurrencyChecking : [ SwiftSetting ] = [
38
+ let featureSettings : [ SwiftSetting ] = [
39
39
. enableExperimentalFeature( " StrictConcurrency " ) ,
40
- . enableUpcomingFeature( " InferSendableFromCaptures " )
40
+ . enableUpcomingFeature( " InferSendableFromCaptures " ) ,
41
+ . enableUpcomingFeature( " MemberImportVisibility " )
41
42
]
42
43
43
44
var dependencies : [ Package . Dependency ] {
@@ -98,7 +99,7 @@ let package = Package(
98
99
" FoundationInternationalization " ,
99
100
] ,
100
101
cSettings: wasiLibcCSettings,
101
- swiftSettings: availabilityMacros + concurrencyChecking
102
+ swiftSettings: availabilityMacros + featureSettings
102
103
) ,
103
104
104
105
// FoundationEssentials
@@ -134,7 +135,7 @@ let package = Package(
134
135
swiftSettings: [
135
136
. enableExperimentalFeature( " VariadicGenerics " ) ,
136
137
. enableExperimentalFeature( " AccessLevelOnImport " )
137
- ] + availabilityMacros + concurrencyChecking ,
138
+ ] + availabilityMacros + featureSettings ,
138
139
linkerSettings: [
139
140
. linkedLibrary( " wasi-emulated-getpid " , . when( platforms: [ . wasi] ) ) ,
140
141
]
@@ -148,7 +149,7 @@ let package = Package(
148
149
resources: [
149
150
. copy( " Resources " )
150
151
] ,
151
- swiftSettings: availabilityMacros + concurrencyChecking
152
+ swiftSettings: availabilityMacros + featureSettings
152
153
) ,
153
154
154
155
// FoundationInternationalization
@@ -172,7 +173,7 @@ let package = Package(
172
173
cSettings: wasiLibcCSettings,
173
174
swiftSettings: [
174
175
. enableExperimentalFeature( " AccessLevelOnImport " )
175
- ] + availabilityMacros + concurrencyChecking
176
+ ] + availabilityMacros + featureSettings
176
177
) ,
177
178
178
179
. testTarget(
@@ -181,7 +182,7 @@ let package = Package(
181
182
" TestSupport " ,
182
183
" FoundationInternationalization " ,
183
184
] ,
184
- swiftSettings: availabilityMacros + concurrencyChecking
185
+ swiftSettings: availabilityMacros + featureSettings
185
186
) ,
186
187
187
188
// FoundationMacros
@@ -198,7 +199,7 @@ let package = Package(
198
199
exclude: [ " CMakeLists.txt " ] ,
199
200
swiftSettings: [
200
201
. enableExperimentalFeature( " AccessLevelOnImport " )
201
- ] + availabilityMacros + concurrencyChecking
202
+ ] + availabilityMacros + featureSettings
202
203
) ,
203
204
]
204
205
)
@@ -213,7 +214,7 @@ package.targets.append(contentsOf: [
213
214
" FoundationMacros " ,
214
215
" TestSupport "
215
216
] ,
216
- swiftSettings: availabilityMacros + concurrencyChecking
217
+ swiftSettings: availabilityMacros + featureSettings
217
218
)
218
219
] )
219
220
#endif
0 commit comments