Skip to content

Commit

Permalink
Add missing platform availability annotation (#26)
Browse files Browse the repository at this point in the history
It's missing for `DNSResolver` and results in build failing in iOS.

Resolves #25
  • Loading branch information
yim-lee authored Feb 17, 2024
1 parent 200eac1 commit 1f5d6f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/AsyncDNSResolver/AsyncDNSResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public struct AsyncDNSResolver {
}

/// API for running DNS queries.
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
public protocol DNSResolver {
/// Lookup A records associated with `name`.
///
Expand Down

0 comments on commit 1f5d6f4

Please sign in to comment.