mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
25 lines
596 B
Rust
25 lines
596 B
Rust
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd"))]
|
|
#[path = "privileged_unix.rs"]
|
|
mod platform;
|
|
#[cfg(windows)]
|
|
#[path = "windows.rs"]
|
|
mod platform;
|
|
#[cfg(target_os = "macos")]
|
|
#[path = "macos.rs"]
|
|
mod platform;
|
|
#[cfg(not(any(
|
|
target_os = "linux",
|
|
target_os = "freebsd",
|
|
target_os = "openbsd",
|
|
target_os = "macos",
|
|
windows
|
|
)))]
|
|
#[path = "default.rs"]
|
|
mod platform;
|
|
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd", test))]
|
|
mod selection;
|
|
|
|
pub(crate) use platform::builder;
|
|
#[cfg(windows)]
|
|
pub(crate) use platform::recover_network;
|