From 919650f2713d50992e7953bd75adf9586bf83f48 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Thu, 7 Nov 2024 20:54:40 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Trade=20compile-time=20for?= =?UTF-8?q?=20binary=20size=20reduction=20in=20release=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This let us remove almost 1MB from the binary size. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 2c67000..e55c6a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,3 +60,4 @@ rand = "0.8.5" [profile.release] lto = "fat" +codegen-units = 1