Files
reims-vgpu/xtask
Anees Iqbal 7fafb7f9fb 🆕 Stamp the build's commit into reims-ctl and the library
A report could not say which builds it came from: reims-ctl's version was
the package's, and the library named its commit only where `cargo xtask
dist` set RVG_BUILD_COMMIT, so a QEMU or reims-ctl from another build than
the install's went unseen.

Each is now stamped at build time by a build script of its own, with no
new dependency: `git rev-parse HEAD`, `-dirty` where a tracked file of the
tree differs from it (Cargo.lock aside, which a build rewrites), and
`unknown` outside a checkout, never failing the build. The library's is
reims-vgpu-c's, handed to the Vulkan crate at the C API's first call, so
every build of it carries it, not only dist's; xtask's RVG_BUILD_COMMIT and
the recorder's own read of it go.

`reims-ctl --version` shows its stamp. The ask for the counts writes the
library's build line, `reims-vgpu: build <commit> on metal2vulkan <pin>`,
and system.txt's head names reims-ctl's stamp, the running library's as
the QEMU log names it, the install record's commit and the metal2vulkan
commit, with one plain line where the commits differ. Display only.
2026-12-02 06:10:00 -08:00
..