From f541aabc8a145a149861c95396ebd0e511076360 Mon Sep 17 00:00:00 2001 From: spinline Date: Fri, 30 Jan 2026 01:49:39 +0300 Subject: [PATCH] fix(build): Downgrade optimization to 's' to fix wasm-opt compatibility --- Cargo.toml | 2 +- frontend/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e163116..abd409d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" # Optimize for size (aggressive) [profile.release] -opt-level = "z" +opt-level = "s" lto = true codegen-units = 1 panic = "abort" diff --git a/frontend/index.html b/frontend/index.html index 9ffd99c..0e00ea5 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -14,7 +14,7 @@ - +