Add a "mini" build profile

It's like release, but with LTO and LLVM's `-Oz` size optimization.
This commit is contained in:
2025-05-16 18:37:34 -05:00
parent 076fcd3c3f
commit a0292eb789

View File

@@ -27,6 +27,14 @@ opt-level = 3
# codegen-units = 1
lto = "fat"
[profile.mini]
inherits = "release"
lto = true
opt-level = "z"
codegen-units = 1
strip = "symbols"
panic = "abort"
[profile.wasm-release]
inherits = "release"
opt-level = "z"