fix(build): Downgrade optimization to 's' to fix wasm-opt compatibility

This commit is contained in:
spinline
2026-01-30 01:49:39 +03:00
parent f185660ac4
commit f541aabc8a
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -14,7 +14,7 @@
<link rel="apple-touch-icon" href="icon-192.png" />
<!-- Trunk Assets -->
<link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="z" />
<link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="s" />
<link data-trunk rel="css" href="public/tailwind.css" />
<link data-trunk rel="copy-file" href="manifest.json" />
<link data-trunk rel="copy-file" href="icon-192.png" />