diff --git a/Cargo.toml b/Cargo.toml index 08d585d3ef90..652277ca7250 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -261,6 +261,7 @@ strip = false # Retain debug info for flamegraphs [profile.ci-optimized] inherits = "release" codegen-units = 16 +debug-assertions = true lto = "thin" strip = true