no bug - Correct some typos in the comments. a=typo-fix
[gecko.git] / third_party / rust / wgpu-hal / build.rs
blob7d17591605a04070c03f8eec611112af37f65210
1 fn main() {
2     cfg_aliases::cfg_aliases! {
3         native: { not(target_arch = "wasm32") },
4         send_sync: { any(
5             not(target_arch = "wasm32"),
6             all(feature = "fragile-send-sync-non-atomic-wasm", not(target_feature = "atomics"))
7         ) },
8         webgl: { all(target_arch = "wasm32", not(target_os = "emscripten"), gles) },
9         Emscripten: { all(target_os = "emscripten", gles) },
10         dx12: { all(target_os = "windows", feature = "dx12") },
11         gles: { all(feature = "gles") },
12         metal: { all(any(target_os = "ios", target_os = "macos"), feature = "metal") },
13         vulkan: { all(not(target_arch = "wasm32"), feature = "vulkan") }
14     }