Skip to content

Commit 9576fd8

Browse files
committed
1 parent 7f9ccbc commit 9576fd8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

matter/src/mdns.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use core::fmt::Write;
1919

2020
use crate::{data_model::cluster_basic_information::BasicInfoConfig, error::Error};
2121

22-
#[cfg(all(feature = "std", feature = "astro-dnssd"))]
22+
#[cfg(all(feature = "std", target_os = "macos"))]
2323
pub mod astro;
2424
pub mod builtin;
2525
pub mod proto;
@@ -55,16 +55,16 @@ where
5555
}
5656
}
5757

58-
#[cfg(all(feature = "std", feature = "astro-dnssd"))]
58+
#[cfg(all(feature = "std", target_os = "macos"))]
5959
pub type DefaultMdns<'a> = astro::Mdns<'a>;
6060

61-
#[cfg(all(feature = "std", feature = "astro-dnssd"))]
61+
#[cfg(all(feature = "std", target_os = "macos"))]
6262
pub type DefaultMdnsRunner<'a> = astro::MdnsRunner<'a>;
6363

64-
#[cfg(not(all(feature = "std", feature = "astro-dnssd")))]
64+
#[cfg(not(all(feature = "std", target_os = "macos")))]
6565
pub type DefaultMdns<'a> = builtin::Mdns<'a>;
6666

67-
#[cfg(not(all(feature = "std", feature = "astro-dnssd")))]
67+
#[cfg(not(all(feature = "std", target_os = "macos")))]
6868
pub type DefaultMdnsRunner<'a> = builtin::MdnsRunner<'a>;
6969

7070
pub struct DummyMdns;

0 commit comments

Comments
 (0)