Files
another-boids-in-rust/debian/patches/0003-Use-mini-as-release-profile.patch
2025-11-18 13:31:47 -06:00

26 lines
521 B
Diff

From: Robert Garrett <robertgarrett404@gmail.com>
Date: Sat, 27 Sep 2025 22:01:16 -0500
Subject: Use "mini" as "release" profile
---
Cargo.toml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 4b2cf49..192533d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,8 +39,11 @@ opt-level = 1
opt-level = 3
[profile.release]
-# codegen-units = 1
lto = "fat"
+opt-level = "z"
+codegen-units = 1
+strip = "symbols"
+panic = "abort"
[profile.mini]
inherits = "release"