Skip to content

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

Merged
fylorn merged 1 commit into
devfrom
build/line-tables-debuginfo
Sep 24, 2026
Merged

fylorn merged 1 commit into
devfrom
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

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 <noreply@anthropic.com>
@fylorn
fylorn merged commit f227a60 into dev Sep 24, 2026
3 checks passed
@fylorn
fylorn deleted the build/line-tables-debuginfo branch September 24, 2026 02:20
@fylorn fylorn mentioned this pull request Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant