From 61379dcf65c300cfe137af6cde5dbcc04689160a Mon Sep 17 00:00:00 2001 From: Dmitry Kovba Date: Wed, 11 Jun 2025 07:42:25 -0700 Subject: [PATCH] Update availability checks to macOS 26 (#80) This PR updates availability checks for macOS 16 to macOS 26. --- Sources/Containerization/NATNetworkInterface.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Containerization/NATNetworkInterface.swift b/Sources/Containerization/NATNetworkInterface.swift index 34d0f256..bdc022d6 100644 --- a/Sources/Containerization/NATNetworkInterface.swift +++ b/Sources/Containerization/NATNetworkInterface.swift @@ -25,7 +25,7 @@ import Synchronization /// An interface that uses NAT to provide an IP address for a given /// container/virtual machine. -@available(macOS 16, *) +@available(macOS 26, *) public final class NATNetworkInterface: Interface, Sendable { public var address: String { get { state.withLock { $0.address } } @@ -92,7 +92,7 @@ public final class NATNetworkInterface: Interface, Sendable { #endif } -@available(macOS 16, *) +@available(macOS 26, *) extension NATNetworkInterface: VZInterface { public func device() throws -> VZVirtioNetworkDeviceConfiguration { let config = VZVirtioNetworkDeviceConfiguration()