Skip to content

Infra: remove unneeded swiftLanguageVersions param #444

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

Merged
merged 3 commits into from
Jun 10, 2025

Conversation

topkim993
Copy link
Contributor

Replace deprecated 'swiftLanguageVersions' with 'swiftLanguageModes'

https://developer.apple.com/documentation/packagedescription/package/swiftlanguageversions

@zunda-pixel
Copy link

zunda-pixel commented Jun 2, 2025

Hi @topkim993
if set // swift-tools-version:6.0 in Package.swift, We don't need to set swiftLanguageModes(.v6).
I think those effects is same.

@topkim993
Copy link
Contributor Author

Hi, @zunda-pixel thanks for the feedback!
I’ve reflected the change by removing the explicit swiftLanguageModes(.v6) since setting // swift-tools-version:6.0 already implies Swift 6 mode.

For reference, I followed the official Swift 6 migration guide here

@davdroman davdroman self-requested a review June 10, 2025 09:38
@davdroman davdroman changed the title chore: Replace deprecated 'swiftLanguageVersions' with 'swiftLanguage… Infra: remove unneeded swiftLanguageVersions param Jun 10, 2025
@davdroman davdroman merged commit 27a0bb9 into siteline:main Jun 10, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

4 participants