diff --git a/Cargo.toml b/Cargo.toml index ea0e02cf95..b89523628b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,3 +8,9 @@ members = [ exclude = [ "std/hash/_wasm" ] + + +[profile.release] +codegen-units = 1 +lto = true +opt-level = 'z' # Optimize for size