diff --git a/Cargo.toml b/Cargo.toml index 22787b9f9..5d28dc6dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,9 +52,10 @@ dist = false github-attestations = true [profile.release] +debug = "line-tables-only" codegen-units = 1 panic = "abort" -lto = true +lto = "off" [profile.bench-profile] inherits = "release" @@ -62,4 +63,3 @@ debug = true [profile.dist] inherits = "release" -lto = "thin"