mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Issue-2900 - Add VisionOS support (#2947)
Add Vision support ### Motivation: https://github.com/apple/swift-nio/issues/2900 - close this ### Modifications: - Bump SystemPackage to 1.4.0 and remove @preconcurrency - remove `#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)` to allow for visionOS support - Remove conditional import for swift system ### Result: Vision OS support
This commit is contained in:
1 parent
062b28eeb0
commit
9140817010
55 files changed
+31
-170
No files matched your search
@@ -12,7 +12,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
|
||||
import NIOCore
|
||||
|
||||
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
|
||||
@@ -96,5 +95,3 @@ extension ByteBuffer {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user