openxr-sys
Cloning
If you can, clone the repo using git clone --recurse-submodules.
If you already cloned the repo without, you must run (from anywhere in the repo): git submodule update --init.
Updating the OpenXR SDK
- Update the OpenSR-SDK git submodule to a new commit hash or tag:
a.
cd openxrs/sys/OpenXR-SDK. b.git up <tag/xxx or hash>. c.cd ../..to get back to theopenxrsrepo root and check that the submodule is updated (should be a single line change to what looks like a file atopenxrs/sys/OpenXR-SDK). cd generator; cargo run --bin generatorto regenerate thesyscrate.cd ..to go back to theopenxrsrepo root`.cargo fmt && cargo build && cargo testto find any issues that need fixing.