diff --git a/Cargo.toml b/Cargo.toml index 17e3e845..498dd22a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -444,5 +444,14 @@ harness = false name = "user_activity" harness = false +# Test/dev build speed: the bottleneck for `cargo test` here is linking +# many large binaries (the daemon test suite especially), and full +# variable debuginfo dominates that link time. `line-tables-only` keeps +# file:line in panic backtraces while dropping the heavy per-variable +# DWARF, and on macOS it skips the slow dsymutil packaging step. The +# `test` profile inherits these from `dev`, so this covers both. +[profile.dev] +debug = "line-tables-only" + [lints] workspace = true