From 42142f31762e6c3e590a842461749d59ba33f502 Mon Sep 17 00:00:00 2001 From: 0xpapercut <0xpapercut@gmail.com> Date: Fri, 3 May 2024 21:52:41 +0200 Subject: [PATCH] Update Cargo.toml --- src/core/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/Cargo.toml b/src/core/Cargo.toml index 8b14489..03a062c 100644 --- a/src/core/Cargo.toml +++ b/src/core/Cargo.toml @@ -27,7 +27,8 @@ log = "0.4.20" wasm-bindgen-test = "0.3.34" [profile.release] -opt-level = "s" +opt-level = "z" +lto = true [lib.metadata.wasm-pack.profile.release] wasm-opt = ["-Oz"]