mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Update Array+FileSystem.swift to add visionOS (#3220)
Fix visionOS builds and tests ### Motivation: visionOS builds and tests were failing because of missing cases in availability guards. ### Modifications: Spell guards in terms of Darwin where appropriate, add visionOS ### Result: Example run of this working in CI https://github.com/apple/swift-nio/actions/runs/14876166161/job/41773757638?pr=3220
This commit is contained in:
1 parent
afa7d4f57d
commit
14dcafc6ec
6 files changed
+13
-13
No files matched your search
@@ -12,7 +12,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
|
||||
#if canImport(Darwin) || os(Linux) || os(Android)
|
||||
import NIOCore
|
||||
|
||||
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
|
||||
|
||||
Reference in new issue
Block a user