From 7d0d878ad1f23353b78e5d4e7c8a6712ec79d60f Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Tue, 20 Aug 2024 15:56:36 -0700 Subject: [PATCH] Don't enable thin LTO in `dev` profile Using `lto = "thin"` seems to increase incremental build time when a file is `touch`ed from about 3 seconds to almost 30. I'm not sure if this helped with anything, but there are probably better ways to improve `dev` performance than enabling LTO. --- Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c2d90abe..b46c7aa8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -99,9 +99,6 @@ default = ["systemd"] systemd = ["libsystemd"] profile-with-tracy = ["profiling/profile-with-tracy"] -[profile.dev] -lto = "thin" - [profile.dev.package.tiny-skia] opt-level = 2