Skip to content

Commit

Permalink
Turn off Swift 6 mode. (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored Aug 21, 2024
1 parent ad41ac4 commit 21660b0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ let package = Package(
.product(name: "SwiftCompilerPlugin", package: "swift-syntax"),
]
),
],
swiftLanguageVersions: [.v6]
]
//, swiftLanguageMode: [.v6]
)

#if !os(macOS) && !os(WASI)
Expand Down Expand Up @@ -104,3 +104,10 @@ let package = Package(
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
)
#endif

for target in package.targets {
target.swiftSettings = target.swiftSettings ?? []
target.swiftSettings?.append(contentsOf: [
.enableExperimentalFeature("StrictConcurrency")
])
}

0 comments on commit 21660b0

Please sign in to comment.