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
.
- 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 theopenxrs
repo 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 generator
to regenerate thesys
crate.cd ..
to go back to theopenxrs
repo root`.cargo fmt && cargo build && cargo test
to find any issues that need fixing.