Skip to content

Commit

Permalink
Also set swift.experimental.StrictConcurrency=complete on Swift 5 c…
Browse files Browse the repository at this point in the history
…ompilers when using `swift.enable_v6`.

Even in Swift 5.10, `StrictConcurrency` is only an experimental feature: https://github.com/apple/swift/blob/swift-5.10-RELEASE/include/swift/Basic/Features.def#L221

PiperOrigin-RevId: 631028867
  • Loading branch information
allevato authored and swiple-rules-gardener committed May 6, 2024
1 parent 1ee51c8 commit f1765e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swift/internal/features.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ _SWIFT_6_EQUIVALENT_FEATURES = [
"swift.upcoming.ConciseMagicFile", # SE-0274
"swift.upcoming.ForwardTrailingClosures", # SE-0286
"swift.upcoming.StrictConcurrency", # SE-0337
"swift.experimental.StrictConcurrency=complete", # same as above on older compilers
"swift.upcoming.BareSlashRegexLiterals", # SE-0354
"swift.upcoming.DeprecateApplicationMain", # SE-0383
"swift.upcoming.ImportObjcForwardDeclarations", # SE-0384
Expand Down

1 comment on commit f1765e6

@brentleyjones
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.