Mess with build parameters to make component binary smaller

This commit is contained in:
Michael Mikovsky
2025-12-20 14:08:17 -07:00
parent 514dd5c87b
commit c8cfa685ec
15 changed files with 76 additions and 23 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
cargo-features = ["trim-paths"]
cargo-features = ["trim-paths", "panic-immediate-abort"]
[package]
name = "client"
@@ -21,6 +21,6 @@ strip = true # Strip symbols from the binary
opt-level = "s" # Optimize for size
lto = true
codegen-units = 1
panic = "abort"
panic = "immediate-abort"
debug = false
trim-paths = "all"