From 41b7acc1de2a136e5ee169f4617fafa05d0e7299 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Thu, 23 Nov 2023 17:54:43 +0100 Subject: [PATCH] chore: Use "limited" debug info This one does not contain variable-level debug info; since we mostly rely on backtraces though, this should be fine. It also improves compile times a bunch for both incremental and clean scenarios. --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8840d912f0..874b9e8de5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -208,11 +208,12 @@ core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "07 [profile.dev] split-debuginfo = "unpacked" +debug = "limited" [profile.dev.package.taffy] opt-level = 3 [profile.release] -debug = true +debug = "limited" lto = "thin" codegen-units = 1