fn setup_rust_pixel_cfg_aliases() {
use cfg_aliases::cfg_aliases;
cfg_aliases! {
wasm: { target_arch = "wasm32" },
mobile: { any(target_os = "android", target_os = "ios") },
desktop: { not(any(wasm, mobile)) },
graphics_backend: { any(feature = "sdl", feature = "winit", feature = "wgpu") },
terminal_backend: { not(graphics_backend) },
sdl_backend: { all(feature = "sdl", not(wasm)) },
winit_backend: { all(feature = "winit", not(wasm), not(feature = "wgpu")) },
wgpu_backend: { all(feature = "wgpu", not(wasm)) },
web_backend: { wasm },
cross_backend: { terminal_backend },
audio_support: { not(any(mobile, wasm)) },
full_features: { all(graphics_backend, audio_support) },
minimal_features: { feature = "base" },
graphics_mode: { any(graphics_backend, wasm) },
graphics_simple: { any(feature = "sdl", feature = "winit", wasm) },
native_graphics: { all(desktop, graphics_backend) },
web_ready: { all(wasm, feature = "image") },
}
}