Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package manifest tools version too old to enable strict concurrency in Swift 5.10 #169

Open
dempseyatgithub opened this issue Mar 6, 2024 · 0 comments

Comments

@dempseyatgithub
Copy link

The recommended way to enable strict concurrency in Swift 5.10 to prepare for Swift 6 is to use .enableExperimentalFeature("StrictConcurrency").

However .enableExperimentalFeature("StrictConcurrency") wasn't added to the manifest API until Swift 5.8.

Using .unsafeFlags(["-strict-concurrency=complete"]) is unsuitable in a package manifest because unsafe flags cause errors during dependency resolution.

Either the tool version should be increased to at least 5.8 or a version-specific manifest file should be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant