mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
chore(build): reduce dev/test debug info to cut target churn
Set debug = "line-tables-only" and split-debuginfo = "off" for the dev and test profiles. Keeps backtraces with file/line info but trims local variable metadata and split-debug artifacts that drive APFS metadata churn during cargo clean and incremental rebuilds on macOS. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9e079b6c0a
commit
a4d9979701
1 changed files with 8 additions and 0 deletions
|
|
@ -130,6 +130,14 @@ absolute_paths = "warn"
|
|||
lto = "thin"
|
||||
strip = true
|
||||
|
||||
[profile.dev]
|
||||
debug = "line-tables-only"
|
||||
split-debuginfo = "off"
|
||||
|
||||
[profile.test]
|
||||
debug = "line-tables-only"
|
||||
split-debuginfo = "off"
|
||||
|
||||
[profile.dev.package."*"]
|
||||
debug = false # Disable debug info for all dependencies
|
||||
opt-level = 1 # Shrinks monomorphized generics, reducing test binary size
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue