Skip to content

Commit

Permalink
fix: android build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Jun 12, 2024
1 parent d71c5d3 commit a3a2969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/shadowsocks/src/dns_resolver/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ pub trait DnsResolve {
#[cfg(feature = "hickory-dns")]
pub struct HickoryDnsSystemResolver {
resolver: ArcSwap<HickoryDnsResolver>,
#[cfg_attr(windows, allow(dead_code))]
#[cfg_attr(any(windows, target_os = "android"), allow(dead_code))]
connect_opts: ConnectOpts,
#[cfg_attr(windows, allow(dead_code))]
#[cfg_attr(any(windows, target_os = "android"), allow(dead_code))]
opts: Option<ResolverOpts>,
}

Expand Down

0 comments on commit a3a2969

Please sign in to comment.