#[cfg(target_os = "windows")] fn main() { if let Ok(vulkan_sdk) = std::env::var("VULKAN_SDK") { println!("cargo:rustc-link-lib=static=vulkan-1"); println!("cargo:rustc-link-search=native={}/Lib", vulkan_sdk); } } #[cfg(target_os = "linux")] fn main() { println!("cargo:rustc-link-lib=dylib=vulkan"); }