Skip to content

build: keep only line tables in dev and test builds - #157

Merged
fylorn merged 2 commits into
mainfrom
build/line-tables-debuginfo
Sep 24, 2026
Merged

fylorn merged 2 commits into
mainfrom
build/line-tables-debuginfo

Conversation

@fylorn

@fylorn fylorn commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Dev and test builds now keep only line tables ([profile.dev] debug = "line-tables-only"). Backtraces and panics still name file and line; variable-level debug info is dropped. Release profile is unchanged.

Same change as ThinkWatchProject/ThinkWatch#30: locally, target/debug had grown past 100 GB with full debug info.

🤖 Generated with Claude Code

fylorn and others added 2 commits September 24, 2026 10:09
Each test target links the whole crate into its own binary, and with
full debug info target/ grows past 100 GB. Line tables keep file:line
in backtraces at a fraction of the size.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fylorn
fylorn merged commit 47bdd0f into main Sep 24, 2026
2 checks passed
@fylorn
fylorn deleted the build/line-tables-debuginfo branch September 24, 2026 02:32
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.

1 participant