From d4f754c7d853a2d373d291ab70478eab2ce3dff8 Mon Sep 17 00:00:00 2001 From: Volodymyr Yavdoshenko Date: Sat, 17 Jan 2026 08:06:49 +0200 Subject: [PATCH] fix: tuning for release build --- red/Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/red/Cargo.toml b/red/Cargo.toml index cda9790..9dcd781 100644 --- a/red/Cargo.toml +++ b/red/Cargo.toml @@ -42,5 +42,11 @@ tempfile = "3.10" assert_fs = "1.1" [profile.release] -lto = true +opt-level = 3 +debug = "none" +strip = "symbols" +debug-assertions = false +lto = "fat" +panic = "abort" +incremental = false codegen-units = 1