summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ea0e02cf9..b89523628 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