mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-21 09:41:45 +00:00
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.
18 lines
381 B
Rust
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};
|