From 2f373d839c913a625e4520a1d96a3628992a9158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=87=E9=80=B8?= Date: Sun, 21 Jan 2024 20:14:43 +0800 Subject: [PATCH] Enable LTO --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 2f80a3fe4..a223f9005 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,8 @@ edition = "2021" [profile.release] overflow-checks = true +lto = true +codegen-units = 1 [package] name = "fish"