@@ -5,6 +5,7 @@ import PackageDescription
5
5
6
6
/// Bug alert! Don't move these constants to the end of the file, or they won't take effect!
7
7
/// https://github.com/apple/swift-package-manager/issues/6597
8
+ /// Not all of these features are enabled on the version of Swift that Penny is deployed with.
8
9
let upcomingFeaturesSwiftSettings : [ SwiftSetting ] = [
9
10
/// https://github.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md
10
11
/// Require `any` for existential types.
@@ -30,14 +31,20 @@ let upcomingFeaturesSwiftSettings: [SwiftSetting] = [
30
31
/// Objc, which we don't use.
31
32
. enableUpcomingFeature( " ImportObjcForwardDeclarations " ) ,
32
33
33
- /// Currently causes errors on nightlies. We'll reenable it later.
34
34
/// https://github.com/apple/swift-evolution/blob/main/proposals/0409-access-level-on-imports.md
35
+ /// Currently causes errors on nightlies. We'll reenable it later.
35
36
/// .enableUpcomingFeature("InternalImportsByDefault"),
36
37
37
38
/// https://github.com/apple/swift-evolution/blob/main/proposals/0411-isolated-default-values.md
39
+ /// Data-race-free initial values for stored properties.
38
40
. enableUpcomingFeature( " IsolatedDefaultValues " ) ,
39
41
42
+ /// https://github.com/apple/swift-evolution/blob/main/proposals/0412-strict-concurrency-for-global-variables.md
43
+ /// Enable automatic safety features for global (and some local) variables.
44
+ . enableUpcomingFeature( " GlobalConcurrency " ) ,
45
+
40
46
/// https://github.com/apple/swift-evolution/blob/main/proposals/0413-typed-throws.md
47
+ /// Enable the full potential of typed throws.
41
48
. enableUpcomingFeature( " FullTypedThrows " )
42
49
]
43
50
0 commit comments