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"