Skip to content

Commit c6fe393

Browse files
committed
Fix androidIfCompiler6_3 sigh
1 parent ecee9a9 commit c6fe393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,13 +368,13 @@ extension BuildSettingCondition {
368368
///
369369
/// This constant is used to conditionally enable features on Android only on
370370
/// newer compilers.
371-
static let androidIfCompiler6_3: some Collection<Platform> = {
371+
nonisolated(unsafe) var androidIfCompiler6_3: some Collection<Platform> {
372372
#if compiler(>=6.3)
373373
CollectionOfOne(.android)
374374
#else
375375
EmptyCollection()
376376
#endif
377-
}()
377+
}
378378

379379
extension Array where Element == PackageDescription.SwiftSetting {
380380
/// Settings intended to be applied to every Swift target in this package.

0 commit comments

Comments
 (0)