forked from grpc/grpc-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swift 6-ify the package manifest (grpc#1955)
Motivation: v2 will require the Swift 6 language mode. In order to continue developing v1 and v2 on main we'll need a Swift 6 specific manifest version in addition to the 5.x version. Moving forward we'll have two package manifests, `Package.swift` for 5.x containing only v1, and `[email protected]` using tools version 6.0 targetting v1 and v2. Modifications: - Remove v2 targets from Package.swift - Add a second manifest and make it warning free with Swift 6, this requires turning `static let`s to `static var`s. - Conditionalise some imports in `protoc-gen-grpc-swift` (as it is shared by v1 and v2) - Fix an error in the plugin for Swift 6 Result: v2 now only compiles with a Swift 6 compiler
- Loading branch information
Showing
28 changed files
with
956 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.