From 60417d6956a89023d954f277c9a6ddffc15fec58 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Wed, 3 Sep 2025 16:15:48 -0500 Subject: [PATCH] Make the WASM build profile even smaller --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 642ab412..a51f2f8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,8 @@ strip = "symbols" panic = "abort" [profile.wasm-release] +codegen-units = 1 inherits = "release" +lto = "fat" opt-level = "z" -strip = "debuginfo" +strip = "symbols"