From b84f60682579c721d2b03121b6b4d825c71997fa Mon Sep 17 00:00:00 2001 From: Luis Garcia Date: Sun, 24 Nov 2024 03:23:20 -0700 Subject: [PATCH 1/2] Enable thin LTO Signed-off-by: Luis Garcia --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 2e9d354..ebeb282 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,7 @@ default-members = [ [profile.release] panic = "abort" debug = true +lto = "thin" [profile.release-github] inherits = "release" From 9e998c67bcf816fc368d294c1e06e82a69526a92 Mon Sep 17 00:00:00 2001 From: Luis Garcia Date: Sun, 24 Nov 2024 04:11:57 -0700 Subject: [PATCH 2/2] disable lto on release-github Signed-off-by: Luis Garcia --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index ebeb282..c9f9180 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,3 +40,4 @@ lto = "thin" [profile.release-github] inherits = "release" debug = false +lto = false