Skip to content

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

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

Each integration test is its own binary linking the whole workspace. With full debug info, target/ grew to ~150 GB in one day of running the ignored integration suite.

[profile.dev] debug = "line-tables-only" keeps file and line in backtraces and panics, drops variable-level debug info. Release profile is unchanged. Verified rustc receives -C debuginfo=line-tables-only for workspace crates.

🤖 Generated with Claude Code

Each integration test links the whole workspace into its own binary,
and with full debug info target/ grew to ~150 GB in a day. Line tables
keep file:line in backtraces at a fraction of the size.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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