From da4ceb4c7b0639a106701ebf1a352d0ebbe785d5 Mon Sep 17 00:00:00 2001 From: George Shuklin Date: Wed, 21 Feb 2024 21:39:03 +0200 Subject: [PATCH] Set codegen-units to 1 reduce release binary size (#1920) --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 7d86799..42ad909 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,6 +79,7 @@ targets = ["x86_64-unknown-linux-gnu"] [profile.release] lto = true +codegen-units = 1 [[test]] name = "integration"