diff --git a/ash/Cargo.toml b/ash/Cargo.toml index 1474cd3..59e2933 100644 --- a/ash/Cargo.toml +++ b/ash/Cargo.toml @@ -16,7 +16,6 @@ libc = "0.2.26" [features] default = [] -moltenvk = [] [package.metadata.release] no-dev-version = true diff --git a/ash/src/entry.rs b/ash/src/entry.rs index 9cebc8d..d9511e5 100644 --- a/ash/src/entry.rs +++ b/ash/src/entry.rs @@ -15,7 +15,7 @@ fn get_path() -> &'static Path { Path::new("vulkan-1.dll") } -#[cfg(all(unix, not(any(feature = "moltenvk", target_os = "android"))))] +#[cfg(all(unix, not(any(target_os = "macos", target_os = "ios", target_os = "android"))))] fn get_path() -> &'static Path { Path::new("libvulkan.so.1") } @@ -25,7 +25,7 @@ fn get_path() -> &'static Path { Path::new("libvulkan.so") } -#[cfg(all(feature = "moltenvk", any(target_os = "macos", target_os = "ios")))] +#[cfg(any(target_os = "macos", target_os = "ios"))] fn get_path() -> &'static Path { Path::new("libMoltenVK.dylib") }