diff --git a/Cargo.toml b/Cargo.toml index 570e5b638..0ffbdf6ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,7 +58,7 @@ github-attestations = true debug = "line-tables-only" codegen-units = 1 panic = "abort" -lto = "off" +lto = true [profile.bench-profile] inherits = "release" @@ -66,3 +66,4 @@ debug = true [profile.dist] inherits = "release" +lto = "thin"