From a3b4037c8add96b437be37f36728ea86882100a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 27 Sep 2022 14:55:02 +0200 Subject: [PATCH] Revert "perf(cli): use -O3 instead of -Oz (#15952)" (#16053) This reverts commit 06c77a30f9c00a562ff2a34b96fe828e0d29a33f. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f6e6d0b5bf..91b9a0d659 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]