From d0490db63f8fa93919260abd27b812c9d43d1ad1 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 13 Jun 2022 03:30:12 +0800 Subject: [PATCH] push a different opt-level to the build let's see this go through the CI gauntlet and we'll compare runtimes... --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 6424ce93c..5676b5ae3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -101,6 +101,7 @@ strip = true lto = "fat" incremental = true #panic = "abort" # Remove panic output, which can reduce file size +opt-level = 2 # improves code size, may actually be faster than "3" because we have small caches? #opt-level = 's' # z,s: Optimize for size instead of performance [patch.crates-io]