perf(cargo): re-enable opt-level 3 and set panic="abort" to reduce size

This commit is contained in:
Michael Aaron Murphy 2025-10-04 04:26:47 +02:00
parent 6ebdcdc23f
commit ae5f151932
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -42,12 +42,13 @@ package = "smithay-client-toolkit"
# rev = "c583de8"
[profile.dev]
opt-level = "s"
opt-level = 3
lto = "off"
[profile.release]
opt-level = "s"
opt-level = 3
lto = "thin"
panic = "abort"
[profile.release-with-debug]
inherits = "release"