git.lucas.co / cce
cce workspace root: member list, lockfile and dependency pins
git clone https://git.lucas.co/cce.git

commit35f6a2e2e8f55cb9b0b5ad4c0dab75d3bcbc81a2
parentf609164bb7
authorLucas Galante <lsgalante12@gmail.com>
date2026-10-06 18:23
Cargo.toml: cce-fx release builds keep line tables

cce-compositor's own [profile.release] debug = true is ignored in a
workspace build, so the installed compositor shipped with no debug info and
crash backtraces had no file:line. Scoped per-package, so only cce-fx
rebuilds (9.2 MB -> 14.7 MB on disk; debug sections are not mapped).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

 Cargo.toml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index eef8003..0284f99 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,3 +58,12 @@ cce-window-manager = { path = "cce-window-manager" }
 
 [patch."https://github.com/lsgalante/cce-vault.git"]
 cce-vault = { path = "cce-vault" }
+
+# A member's own [profile] is ignored in a workspace build (only the root's
+# applies), so cce-compositor's `[profile.release] debug = true` never reached
+# the installed cce-fx: it shipped with no debug info, and a crash backtrace
+# had no file:line. Line tables are enough for that, cost a fraction of full
+# debug info, and are not loaded into memory. Scoped to cce-fx so no other
+# crate rebuilds.
+[profile.release.package.cce-fx]
+debug = "line-tables-only"