feat(build): add release-fast profile for powerful build machines

Added release-fast profile with codegen-units=8 for faster builds on powerful machines.\n\nCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Argenis 2026-02-17 04:02:52 -05:00 committed by GitHub
parent 3d8ece4c59
commit 0ec46ac3d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View file

@ -136,6 +136,11 @@ codegen-units = 1 # Serialized codegen for low-memory devices (e.g., Raspberr
strip = true # Remove debug symbols
panic = "abort" # Reduce binary size
[profile.release-fast]
inherits = "release"
codegen-units = 8 # Parallel codegen for faster builds on powerful machines (16GB+ RAM recommended)
# Use: cargo build --profile release-fast
[profile.dist]
inherits = "release"
opt-level = "z"