Skip to content

Document command-local release build overrides for low-memory builders - #1667

Merged
echelon merged 2 commits into
storytold:mainfrom
skybluu:docs/source-build-memory
Oct 14, 2026
Merged

echelon merged 2 commits into
storytold:mainfrom
skybluu:docs/source-build-memory

Conversation

@skybluu

@skybluu skybluu commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Addresses the actionable source-build guidance in #1196; does not claim to repair or close the Arch/AUR packaging issue.

English and Simplified Chinese build guides explain serial jobs, command-local release debug/LTO/codegen settings, performance/debugging tradeoffs, and the fact that PKGBUILD exports can override inherited environment variables. Repository profiles and downstream recipes are unchanged.

Verification

The documented overrides (CARGO_BUILD_JOBS=1, CARGO_PROFILE_RELEASE_DEBUG=0, CARGO_PROFILE_RELEASE_LTO=false, CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16) were applied to an actual release build and execution of the existing rawinfo example. It decoded and developed an 1800×1200 procedural DNG successfully (decode 22ms). No tests added for prose. Existing xtask command defaults and release/dist profiles were checked for accurate distinctions.

This was Windows on a 64GB machine, not a 16GB Arch/AUR end-to-end packaging benchmark. No peak-memory, whole-desktop-link, or guaranteed-16GB claim. See reporter logs for the original observed OOM and successful serialization workaround. Changelog updated.

Baseline full CI fails at the existing spots.rs250 clippy lint; parity/layers/assets checked separately on the contribution baseline and pass.

@echelon

echelon commented Oct 15, 2026

Copy link
Copy Markdown
Member

Thank you @skybluu! This landed on main in integration batch 35 (#1682).

If you haven't already, please join our Discord: https://discord.gg/artcraft. We'd love to have you there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants