2022-12-27 15:17:42 -08:00
|
|
|
fn main() {
|
|
|
|
|
cfg_aliases::cfg_aliases! {
|
|
|
|
|
free_unix: { all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))) },
|
2023-08-12 13:39:13 -07:00
|
|
|
kms_platform: { all(feature = "kms", free_unix, not(target_arch = "wasm32")) },
|
2022-12-27 15:17:42 -08:00
|
|
|
x11_platform: { all(feature = "x11", free_unix, not(target_arch = "wasm32")) },
|
|
|
|
|
wayland_platform: { all(feature = "wayland", free_unix, not(target_arch = "wasm32")) },
|
|
|
|
|
}
|
|
|
|
|
}
|