mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
13 lines
318 B
Diff
13 lines
318 B
Diff
Minimize size of the binary.
|
|
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -77,6 +77,8 @@
|
|
[profile.release]
|
|
lto = true # link time optimization - roughly halves the size of the exec
|
|
codegen-units = 1 # this removes a few hundred bytes from the final exec size
|
|
+opt-level = "z"
|
|
+panic = "abort"
|
|
|
|
[[bench]]
|
|
name = "fuzzy"
|