From 6d598d2f07f0e8a1f47c88f16b488757e9a55795 Mon Sep 17 00:00:00 2001 From: Pantonshire Date: Fri, 8 Jul 2022 20:49:22 +0100 Subject: [PATCH] Enable fat lto for release builds --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 91d06cc..3215e90 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,9 @@ path = "src/bin/css_gen/main.rs" name = "prepublish" path = "src/bin/prepublish/main.rs" +[profile.release] +lto = "fat" + [dependencies] libshire = { git = "https://github.com/pantonshire/libshire", features = ["serde"] } tokio = { version = "1", features = ["full"] }