diff --git a/Cargo.toml b/Cargo.toml index 52e750d4..639fdb8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,12 @@ edition = "2021" [profile.release] lto = true +# Don't compile and link debug info; these reduce build times at the +# cost of not having line numbers in backtraces. +[profile.dev] +debug = 0 +strip = "debuginfo" + [dependencies] adw = { package = "libadwaita", version = "0.6", features = ["v1_5"] } anyhow = "1.0.59"