diff --git a/Cargo.toml b/Cargo.toml index bdfcd2adbd..a22ff581b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,17 +20,6 @@ exclude = [ "std/hash/_wasm" ] - -[profile.release] -codegen-units = 1 -lto = true -opt-level = 'z' # Optimize for size - -[profile.bench] -codegen-units = 1 -lto = true -opt-level = 'z' # Optimize for size - # Optimize these packages for perf [profile.release.package.rand] opt-level = 3