change from target_os to target_family.
This commit is contained in:
@@ -16,10 +16,10 @@ wgpu = "0.17.1"
|
||||
wgpu-core = { version = "0.17.1", features = ["vulkan"] }
|
||||
wgpu-hal = "0.17.1"
|
||||
|
||||
[target.'cfg( target_os = "linux" )'.dependencies]
|
||||
[target.'cfg( target_family = "unix" )'.dependencies]
|
||||
openxr = "0.17.1"
|
||||
|
||||
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
||||
[target.'cfg(not(target_family = "unix"))'.dependencies]
|
||||
openxr = { version = "0.17.1", features = ["static"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
Reference in New Issue
Block a user