From 35b0068b8c04b855b5540a36720fb35d6bca2efc Mon Sep 17 00:00:00 2001 From: CherretGit Date: Mon, 8 Dec 2025 23:11:49 +0700 Subject: [PATCH] optimize libbyedpi --- rust/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index fac7e19..1643ae8 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -15,3 +15,9 @@ crate-type = ["cdylib"] [build-dependencies] cmake = "0.1.49" + +[profile.release] +opt-level = "z" +lto = true +strip = true +codegen-units = 1