From 4a812750ea4aaa776a0077fdfc933f6dd28cb198 Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Wed, 14 Feb 2024 07:27:06 +1100 Subject: [PATCH] Enable LTO when profiling (#1469) --- Cargo.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 963a48fb7..e9c990085 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,16 +15,10 @@ resolver = "2" lto = "fat" codegen-units = 1 -[profile.bench] -lto = "fat" -codegen-units = 1 - # used for e.g. generating flamegraphs [profile.profiling] inherits = "release" -lto = false debug = true -codegen-units = 1 [workspace.dependencies] scylla = { version = "0.12.0", features = ["ssl"] }