diff --git a/Cargo.toml b/Cargo.toml index 27cd15bd6a..486d40e31c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -205,7 +205,7 @@ use_debug = "deny" [profile.release] codegen-units = 1 -lto = true # attempts to perform optimizations across all crates within the dependency graph +lto = "thin" # attempts to perform optimizations across all crates within the dependency graph [profile.bench] codegen-units = 16 # default for "release", which "bench" inherits