mirror of
https://github.com/apple/container.git
synced 2026-11-08 15:03:18 +00:00
Update availability checks to macOS 26 (#80)
This PR updates availability checks for macOS 16 to macOS 26.
This commit is contained in:
1 parent
69827b55d2
commit
61379dcf65
1 file changed
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user