Files
reims-vgpu/xtask
Anees Iqbal fd497ebd82 🐛 Build dist's SDL with its flags where kache caches build scripts
cargo xtask dist builds SDL again with the flags that give its classes the
library's names and keep its globals uncommon (-fno-common), for macOS 11.0.
Where the build runs through kache (dev-env.sh), kache serves a build
script's run from its store by the inputs Cargo reruns it for, and SDL's
script declares none of those flags, so a run of a build with no flags, from
any target directory on the host, was served in its place. A dev dist then
failed its archive check: SDL's _b_inModeTransition and _mach_base_info were
common symbols, left global, and its objects were built for the SDK's macOS
(measured on the M3 Max, after a dev test build had built SDL there).

dist's build now turns kache's build-script cache off with an [env] entry,
KACHE_BUILD_SCRIPT_CACHE=0, which the rustc wrapper and the scripts see, so
its build scripts run as without kache, and a run with the library's flags
is not served to another build either.
2026-11-05 21:59:32 -08:00
..