Add visionOS to @available
annotations where we use them
#414
Labels
area/transport
Affects: Client or server transport library.
kind/enhacement
Improvements to existing feature.
Milestone
While the current Linux toolchains are happy to have visionOS in the
platforms:
in Package.swift, it seems they don't it being mentioned in the list of platforms in an@available
annotation yet.We tried to add it to the URLSession transport in apple/swift-openapi-urlsession#41. This succeeds in the latest Xcode release (15.0.1), but it fails in our Linux CI.
Note, this is only a warning but, because we compile with
-warnings-as-errors
, it gets promoted by the CI, and there's no current way to selectively opt-out of errors on a per-error or per-file basis.We'll backlog this issue to post-1.0 and pick it up when we have it available for use in the Linux toolchain.
The text was updated successfully, but these errors were encountered: