diff --git a/Cargo.toml b/Cargo.toml index a42a2df..7a01119 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,4 +24,12 @@ anyhow = "1" libm = "0.2" [profile.release] -debug = true +debug = 0 # CARGO_PROFILE_RELEASE_DEBUG=true restores full debug info + +# Dev and test builds do not read DWARF, and it multiplies what every target directory and the +# shared build cache hold. +[profile.dev] +debug = 0 + +[profile.test] +debug = 0