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:
parent
3d8ece4c59
commit
0ec46ac3d1
2 changed files with 8 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue