summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-09-27 14:55:02 +0200
committerGitHub <noreply@github.com>2022-09-27 14:55:02 +0200
commita3b4037c8add96b437be37f36728ea86882100a4 (patch)
tree43767bac24663070ad18f21a291b7fa4459c3dcc
parentf02f2425d5e5947a3cc5a95775c8cae5a6e82881 (diff)
Revert "perf(cli): use -O3 instead of -Oz (#15952)" (#16053)
This reverts commit 06c77a30f9c00a562ff2a34b96fe828e0d29a33f.
-rw-r--r--Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f6e6d0b5b..91b9a0d65 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -34,14 +34,14 @@ exclude = ["test_util/std/hash/_wasm"]
codegen-units = 1
incremental = true
lto = true
-opt-level = 3 # Optimize for speed
+opt-level = 'z' # Optimize for size
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.bench]
codegen-units = 1
incremental = true
lto = true
-opt-level = 3 # Optimize for speed
+opt-level = 'z' # Optimize for size
# Key generation is too slow on `debug`
[profile.dev.package.num-bigint-dig]