mirror of
https://github.com/apple/container.git
synced 2026-09-09 09:15:42 +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:
@@ -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