From 3dbcb0717297da9d843ee89fa5cf7f0717c95448 Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Sat, 14 Mar 2026 10:42:54 -0500 Subject: [PATCH] chore: Remove the incremental flag from release mode compilation. Slightly slower but much smaller builds. --- src/rust/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index fd2f241d..27aa52a1 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -5,9 +5,9 @@ edition = "2024" license = "GPL-2.0-only" [profile.release] -strip = "debuginfo" +strip = yes lto = "thin" -incremental = true +incremental = false [profile.release.build-override] opt-level = 3