From a8538b761a116e51946e685705f30b8e1bf3c97a Mon Sep 17 00:00:00 2001 From: aiongg Date: Wed, 25 Nov 2026 13:31:26 +0000 Subject: [PATCH] Dependencies keep line tables in dev and test builds --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 5592118f..acb86eae 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,7 @@ [alias] xtask = "run -p xtask --" + +# An explicit level for dependencies: Cargo drops the profile's default debug level from crates only build scripts and +# macros use, and then clippy and test each build their own copy of them. +[profile.dev.package."*"] +debug = "line-tables-only"