Files
firezone/rust/bin-shared/src/network_changes.rs
Thomas Eizinger 6114bb274f chore(rust): make most of the Rust code compile on MacOS (#8924)
When working on the Rust code of Firezone from a MacOS computer, it is
useful to have pretty much all of the code at least compile to ensure
detect problems early. Eventually, once we target features like a
headless MacOS client, some of these stubs will actually be filled in an
be functional.
2025-04-29 11:20:09 +00:00

18 lines
381 B
Rust

#[cfg(target_os = "linux")]
#[path = "network_changes/linux.rs"]
#[expect(
clippy::unnecessary_wraps,
reason = "Signatures must match other platforms"
)]
mod imp;
#[cfg(target_os = "windows")]
#[path = "network_changes/windows.rs"]
mod imp;
#[cfg(target_os = "macos")]
#[path = "network_changes/macos.rs"]
mod imp;
pub use imp::{new_dns_notifier, new_network_notifier};