diff --git a/Cargo.toml b/Cargo.toml index 96fc26cf2178..22cf05068950 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -205,6 +205,7 @@ rest_pat_in_fully_bound_structs = "warn" [profile.release] strip = true +lto = true [profile.profiling] inherits = "release"