do not compile openxrs for wasm32 (#59)
This commit is contained in:
@@ -24,10 +24,10 @@ wgpu = "0.17.1"
|
||||
wgpu-core = { version = "0.17.1", features = ["vulkan"] }
|
||||
wgpu-hal = "0.17.1"
|
||||
|
||||
[target.'cfg( target_family = "unix" )'.dependencies]
|
||||
[target.'cfg(all(target_family = "unix", not(target_arch = "wasm32")) )'.dependencies]
|
||||
openxr = { version = "0.17.1", features = ["mint"] }
|
||||
|
||||
[target.'cfg(not(target_family = "unix"))'.dependencies]
|
||||
[target.'cfg(all(not(target_family = "unix"), not(target_arch = "wasm32")))'.dependencies]
|
||||
openxr = { version = "0.17.1", features = ["mint", "static"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
Reference in New Issue
Block a user