Skip to content

Commit a3f67ec

Browse files
committed
Add NonescapableTypes feature
1 parent 6295637 commit a3f67ec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Package.swift

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ extension Array where Element == PackageDescription.SwiftSetting {
171171
.unsafeFlags(["-require-explicit-sendable"]),
172172
.enableUpcomingFeature("ExistentialAny"),
173173
.enableExperimentalFeature("SuppressedAssociatedTypes"),
174+
.enableExperimentalFeature("NonescapableTypes"),
174175
.enableExperimentalFeature("LifetimeDependence"),
175176

176177
.enableExperimentalFeature("AccessLevelOnImport"),

cmake/modules/shared/CompilerSettings.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ add_compile_options(
1515
add_compile_options(
1616
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend AccessLevelOnImport>"
1717
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend SuppressedAssociatedTypes>"
18+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend NonescapableTypes>"
1819
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend LifetimeDependence>")
1920
add_compile_options(
2021
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend ExistentialAny>"

0 commit comments

Comments
 (0)