Repository navigation
Document command-local release build overrides for low-memory builders - #1667
Merged
Merged
Conversation
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. |
This was referenced Oct 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. Existingxtaskcommand 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.