From 9f541ec5534256eb9f40efe8b14dbf93291e26a7 Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Sat, 17 Aug 2024 18:52:53 +0900 Subject: [PATCH] build: update release profile --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index cfd467b8d..7d4b73fa9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,8 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] + +[profile.release] +strip = "symbols" +lto = "fat" +codegen-units = 1