mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Merge #317
317: Fix building on ios r=grovesNL a=kvark Fixes #315 Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
This commit is contained in:
@@ -37,10 +37,10 @@ rendy-descriptor = "0.4"
|
||||
serde = { version = "1.0", features = ["serde_derive"], optional = true }
|
||||
vec_map = "0.8"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
|
||||
gfx-backend-vulkan = { version = "0.3.0", features = ["x11"] }
|
||||
|
||||
[target.'cfg(not(unix))'.dependencies]
|
||||
[target.'cfg(any(not(unix), target_os = "ios", target_os = "macos"))'.dependencies]
|
||||
gfx-backend-vulkan = "0.3"
|
||||
|
||||
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
||||
|
||||
Reference in New Issue
Block a user