make app close when requested by os and other stuff (#61)
* idk * mr stuff * done * fix windows * add patches to Readme
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -8,8 +8,8 @@ license = "MIT/Apache-2.0"
|
||||
|
||||
|
||||
[features]
|
||||
default = ["linked"]
|
||||
linked = ["openxr/linked"]
|
||||
default = []
|
||||
force-link = ["openxr/linked"]
|
||||
|
||||
[workspace]
|
||||
members = ["examples/android", "examples/demo"]
|
||||
@@ -24,9 +24,10 @@ wgpu = "0.17.1"
|
||||
wgpu-core = { version = "0.17.1", features = ["vulkan"] }
|
||||
wgpu-hal = "0.17.1"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
openxr = { version = "0.17.1", features = ["linked","static","mint"] }
|
||||
[target.'cfg(all(target_family = "unix", not(target_arch = "wasm32")) )'.dependencies]
|
||||
openxr = { version = "0.17.1", features = ["mint"] }
|
||||
|
||||
[target.'cfg(all(not(target_family = "unix"), not(target_arch = "wasm32")))'.dependencies]
|
||||
openxr = { version = "0.17.1", features = ["mint", "static"] }
|
||||
|
||||
@@ -41,3 +42,6 @@ path = "examples/xr.rs"
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
[patch.crates-io]
|
||||
ndk = { git = "https://github.com/Schmarni-Dev/ndk.git", branch = "070" }
|
||||
|
||||
Reference in New Issue
Block a user