From ca759fc535b0b4333b48740efd065c41be11605b Mon Sep 17 00:00:00 2001 From: E <79379754+oech3@users.noreply.github.com> Date: Wed, 22 Oct 2025 04:44:33 +0900 Subject: [PATCH] Cargo.toml: Use codegen-units at 2 profiles --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 059f3ff..9f9197a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -160,10 +160,10 @@ lto = true [profile.release-fast] inherits = "release" panic = "abort" +codegen-units = 1 # A release-like profile that is as small as possible. [profile.release-small] -inherits = "release" +inherits = "release-fast" opt-level = "z" -panic = "abort" strip = true