From 1f8abd44ef9005f634fd5a9aa75a1c68c28d6314 Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Thu, 2 Jan 2025 19:47:22 +0300 Subject: [PATCH] feat: enable LTO and codegen-units = 1 optimization --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 2e8edcd..c63d750 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,3 +22,7 @@ members = [ ] default-members = ["zluda", "zluda_ml", "zluda_inject", "zluda_redirect"] + +[profile.release-lto] +codegen-units = 1 +lto = true