chore(cargo): trim dev/test debug info — line-tables-only + split-debuginfo #30

Merged
altair823 merged 1 commits from chore/cargo-dev-profile-debug-trim into main 2026-05-02 04:39:23 +00:00
Owner

요약

dev/test profile 의 DWARF 디버그 정보 양 줄이고 별도 .dwo 파일로 분리해서 target/ 디스크 사용량 절감.

[profile.dev]
debug = "line-tables-only"
split-debuginfo = "unpacked"

[profile.test]
debug = "line-tables-only"
split-debuginfo = "unpacked"

동작 영향

없음.

  • debug = "line-tables-only" — DWARF 에서 column 번호만 뺌. line 번호는 유지 → backtrace 에 함수+라인 다 보임. opt level 동일 (opt-level = 0), codegen 동일.
  • split-debuginfo = "unpacked" — symbol 정보를 별도 .dwo 파일에 분리. binary 자체는 byte-identical.
  • release profile 안 건드림 → CI / cargo run --release 는 upstream default 와 동일.

Cargo.toml 코멘트 rename leftover 도 같이 정리

워크스페이스 root Cargo.toml 의 dep 코멘트 5 곳에 옛 이름 남아있던 거 갱신:

  • kb-evalkebab-eval
  • kb-store-sqlitekebab-store-sqlite
  • kb-store-vectorkebab-store-vector
  • kb-ragkebab-rag
  • kb-llm-localkebab-llm-local

rename PR #29 의 sweep 이 crates/ docs/ tasks/ README 만 대상으로 해서 워크스페이스 root Cargo.toml 코멘트가 빠진 부분.

검증

  • cargo build --workspace clean (fresh build).
  • cargo test --workspace --no-fail-fast -j 1 clean (모든 테스트 green; 0 FAILED).

Test plan

  • fresh build
  • full test suite (linker OOM 회피 위해 -j 1)
  • kebab- rename leftover 0 hits

🤖 Generated with Claude Code

## 요약 dev/test profile 의 DWARF 디버그 정보 양 줄이고 별도 `.dwo` 파일로 분리해서 `target/` 디스크 사용량 절감. ```toml [profile.dev] debug = "line-tables-only" split-debuginfo = "unpacked" [profile.test] debug = "line-tables-only" split-debuginfo = "unpacked" ``` ## 동작 영향 없음. - `debug = "line-tables-only"` — DWARF 에서 column 번호만 뺌. line 번호는 유지 → backtrace 에 함수+라인 다 보임. opt level 동일 (`opt-level = 0`), codegen 동일. - `split-debuginfo = "unpacked"` — symbol 정보를 별도 `.dwo` 파일에 분리. binary 자체는 byte-identical. - release profile 안 건드림 → CI / `cargo run --release` 는 upstream default 와 동일. ## Cargo.toml 코멘트 rename leftover 도 같이 정리 워크스페이스 root `Cargo.toml` 의 dep 코멘트 5 곳에 옛 이름 남아있던 거 갱신: - `kb-eval` → `kebab-eval` - `kb-store-sqlite` → `kebab-store-sqlite` - `kb-store-vector` → `kebab-store-vector` - `kb-rag` → `kebab-rag` - `kb-llm-local` → `kebab-llm-local` rename PR #29 의 sweep 이 `crates/ docs/ tasks/ README` 만 대상으로 해서 워크스페이스 root `Cargo.toml` 코멘트가 빠진 부분. ## 검증 - `cargo build --workspace` clean (fresh build). - `cargo test --workspace --no-fail-fast -j 1` clean (모든 테스트 green; 0 FAILED). ## Test plan - [x] fresh build - [x] full test suite (linker OOM 회피 위해 `-j 1`) - [x] `kebab-` rename leftover 0 hits 🤖 Generated with [Claude Code](https://claude.com/claude-code)
altair823 added 1 commit 2026-05-02 04:34:19 +00:00
dev/test profile 의 DWARF 디버그 정보 양을 줄이고 별도 .dwo 파일로
분리해서 target/ 디스크 사용량 절감.

## 동작 영향

없음. line-tables-only 는 line 번호는 유지하고 column 번호만 뺌
(backtrace 함수+라인 다 보임). split-debuginfo 는 symbol 정보를
별도 파일에 둘 뿐 binary codegen / opt-level 동일. 즉 컴파일러가
만드는 코드는 byte-identical.

release profile 안 건드림 → CI / `cargo run --release` 는 upstream
default 와 동일.

## Cargo.toml 코멘트 rename leftover 도 같이 정리

워크스페이스 root `Cargo.toml` 의 dep 코멘트 5 곳에 `kb-eval` /
`kb-store-sqlite` / `kb-store-vector` / `kb-rag` / `kb-llm-local`
옛 이름 남아있던 거 `kebab-*` 로 갱신 (rename PR #29 sweep 이
crates/ + docs/ + tasks/ 만 대상으로 해서 빠진 부분).

## 검증

- `cargo build --workspace` clean (fresh build).
- `cargo test --workspace --no-fail-fast -j 1` clean (모든 테스트
  green; 0 FAILED).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
altair823 merged commit 53549f31b1 into main 2026-05-02 04:39:23 +00:00
altair823 deleted branch chore/cargo-dev-profile-debug-trim 2026-05-02 04:39:24 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: altair823-org/kebab#30