remove moltenvk feature

This commit is contained in:
David Lin 2017-10-14 13:43:02 +08:00
parent 85c3054fbb
commit 63c859a462
2 changed files with 2 additions and 3 deletions

View file

@ -16,7 +16,6 @@ libc = "0.2.26"
[features] [features]
default = [] default = []
moltenvk = []
[package.metadata.release] [package.metadata.release]
no-dev-version = true no-dev-version = true

View file

@ -15,7 +15,7 @@ fn get_path() -> &'static Path {
Path::new("vulkan-1.dll") 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 { fn get_path() -> &'static Path {
Path::new("libvulkan.so.1") Path::new("libvulkan.so.1")
} }
@ -25,7 +25,7 @@ fn get_path() -> &'static Path {
Path::new("libvulkan.so") 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 { fn get_path() -> &'static Path {
Path::new("libMoltenVK.dylib") Path::new("libMoltenVK.dylib")
} }