From 3ee3c6a3bd77370de952831b1f99b7dc026b2b95 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Mon, 24 Jun 2024 14:34:16 +0200 Subject: [PATCH] cargo: Add release-fast profile (#13464) This saves us ~1min of linking time on my Linux machine. Release Notes: - N/A Co-authored-by: Piotr --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 872acaa1fa..d8aef852fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -482,6 +482,11 @@ codegen-units = 1 [profile.release.package] zed = { codegen-units = 16 } +[profile.release-fast] +inherits = "release" +lto = false +codegen-units = 16 + [workspace.lints.clippy] dbg_macro = "deny" todo = "deny"