Skip to content

Commit

Permalink
build: enable Package CMO
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed May 22, 2024
1 parent fa8d66f commit 6acbeb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let package = Package(
swiftSettings: [
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.unsafeFlags(["-cross-module-optimization"]),
.unsafeFlags(["-experimental-package-cmo", "-experimental-allow-non-resilient-access"]),
.enableExperimentalFeature("CodeItemMacros"),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
Expand All @@ -47,7 +47,7 @@ let package = Package(
swiftSettings: [
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.unsafeFlags(["-cross-module-optimization"]),
.unsafeFlags(["-experimental-package-cmo", "-experimental-allow-non-resilient-access"]),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
Expand All @@ -61,7 +61,7 @@ let package = Package(
swiftSettings: [
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
.unsafeFlags(["-cross-module-optimization"]),
.unsafeFlags(["-experimental-package-cmo", "-experimental-allow-non-resilient-access"]),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
Expand Down

0 comments on commit 6acbeb2

Please sign in to comment.