From 417a743b5ec5b2370ffa0289f40a8288cd25cf19 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Thu, 22 Jun 2023 18:06:17 +0200 Subject: [PATCH] chore: use codegen_units=1 (#2633) Reduces binary size by about 31Mb (total .dmg size down by 15Mb after compression). --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index a49d75d3e2..9a89d48519 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -117,3 +117,4 @@ split-debuginfo = "unpacked" [profile.release] debug = true lto = "thin" +codegen-units = 1