lightcraft/xtask/src
radialmonster f9cfe15db6 CI: pick build jobs from available RAM, not installed RAM
Installed RAM overcommits a busy machine: on a 32 GB desktop with browsers,
a VM and editors open, about 7 GB was free and the installed-RAM rule chose
16 jobs. A fresh build then pushed free RAM below 1 GB.

`cargo xtask ci` now uses one build job per 1.5 GB of RAM available when it
starts (Linux MemAvailable, Windows AvailableMBytes, macOS free + inactive +
speculative pages), capped at the CPU count. With line-table debuginfo,
4 jobs measured about 3 GB in use, so this leaves about half the available
RAM spare. If available RAM can't be read, half the installed RAM is
assumed; if neither can, 4 jobs. Test threads follow, capped at 4.
Explicit CARGO_BUILD_JOBS / RUST_TEST_THREADS still win.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 20:46:10 -04:00
..
assets.rs LR-IMP-FORMATS: Panasonic RW2 / Leica RWL / Panasonic RAW in every raw format 2026-10-07 16:00:39 +00:00
bench.rs M5.7: cargo xtask bench — render benchmark history + CPU-time regression check 2026-10-01 09:25:13 -04:00
ico.rs app icon: lynx (owner's ArtCraft drawing), Dock/taskbar/launcher wiring, palette docs 2026-10-02 09:37:06 -04:00
layers.rs Fetch: the model downloader is its own crate, lightcraft-fetch 2026-10-07 12:07:24 -04:00
main.rs CI: pick build jobs from available RAM, not installed RAM 2026-10-07 20:46:10 -04:00
parity.rs i18n: add Brazilian Portuguese (pt-br) UI translation 2026-10-07 17:03:20 -03:00
stats.rs M0.1/M0.2: workspace, xtask (layers/wasm/ci/stats), geom, color, raster 2026-09-30 10:04:12 -04:00
version.rs KEY-SLIDER-NUDGE + KEY-FLAGADVANCE: slider nudges, ⇧Z pick and advance, Missing Photos source 2026-10-02 16:27:35 -04:00
web.rs M0.14: web bundle size — fat LTO, size-optimized glue, precompressed output 2026-10-01 09:02:15 -04:00