From b91207bfde2abd61300d2fc419f81a1ac2a49ae8 Mon Sep 17 00:00:00 2001 From: "J. Hinchliffe" Date: Sun, 29 Jun 2025 04:33:24 +0100 Subject: [PATCH] misc: update release profile for optimised builds --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d5039da..e9dca3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,11 @@ authors = ["zxq5", "nullndvoid"] [profile.dev] codegen-backend = "cranelift" -panic = "abort" # Cranelift does not support stack unwinds. +panic = "abort" # Cranelift does not support stack unwinds. lto = false debug = true -incremental = false # sccache does not support caching incremental crates. +incremental = false # sccache does not support caching incremental crates. + +[profile.release] +incremental = true +lto = "fat"