remove moltenvk feature
This commit is contained in:
parent
85c3054fbb
commit
63c859a462
|
@ -16,7 +16,6 @@ libc = "0.2.26"
|
|||
|
||||
[features]
|
||||
default = []
|
||||
moltenvk = []
|
||||
|
||||
[package.metadata.release]
|
||||
no-dev-version = true
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue