From 5c6ab618b4a6b80e2e5c463f5c7ec1489bda85c4 Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Sat, 17 Aug 2024 18:45:08 +0900 Subject: [PATCH] build: update release profile --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c24809cd1..1d04ca104 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