Cargo.toml 🔗
@@ -117,3 +117,4 @@ split-debuginfo = "unpacked"
[profile.release]
debug = true
lto = "thin"
+codegen-units = 1
Piotr Osiewicz created
Reduces binary size by about 31Mb (total .dmg size down by 15Mb after compression).
Cargo.toml | 1 +
1 file changed, 1 insertion(+)
@@ -117,3 +117,4 @@ split-debuginfo = "unpacked"
[profile.release]
debug = true
lto = "thin"
+codegen-units = 1