mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
16 lines
430 B
Rust
16 lines
430 B
Rust
use cfg_aliases::cfg_aliases;
|
|
|
|
fn main() {
|
|
// Setup cfg aliases
|
|
cfg_aliases! {
|
|
// Platforms
|
|
macos: { target_os = "macos" },
|
|
linux: { target_os = "linux" },
|
|
unix: { target_family = "unix" },
|
|
windows: { target_family = "windows" },
|
|
// exclusive features
|
|
smb: { all(feature = "smb", not( macos )) },
|
|
smb_unix: { all(unix, feature = "smb", not(macos)) }
|
|
}
|
|
}
|