diff --git a/Cargo.toml b/Cargo.toml index 8f2aa98..2d20754 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -118,6 +118,10 @@ similar = "3.2.0" semver = "1.0.28" zip = { version = "9.0.3", default-features = false, features = ["deflate"] } +[profile.dev] +# Line tables keep file:line in backtraces but drop variable info; binaries and links are much smaller. +debug = "line-tables-only" + [profile.dev.package.sha2] # self-update hashes the ~1 GB debug binary at boot; unoptimized sha2 takes ~26 s. opt-level = 3