Files
Pat Somaru 3490b8e3f3 ci: replace vergen with env var to stop cache invalidation
vergen-gitcl in scx_utils/build.rs ran git on every build, embedding
the commit SHA as a rustc-env.  Every commit changed the SHA, which
invalidated scx_utils and cascaded to every scheduler — defeating
sccache entirely.

Replace with SCX_GIT_SHA read via option_env!() so the SHA is an
ordinary env var that doesn't affect sccache keys.  The target triple
is emitted from build.rs via the stable TARGET variable.  CI sets
SCX_GIT_SHA from github.sha; local builds omit the SHA gracefully.

Signed-off-by: Pat Somaru <patso@likewhatevs.io>
2026-03-16 20:19:06 -07:00
..
2024-09-09 15:37:59 -04:00