mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
14 lines
249 B
Diff
14 lines
249 B
Diff
Minimize size of the binary.
|
|
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -56,3 +56,9 @@
|
|
|
|
[build-dependencies]
|
|
syntect = { version = "4.4", default-features = false }
|
|
+
|
|
+[profile.release]
|
|
+codegen-units = 1
|
|
+lto = true
|
|
+opt-level = "z"
|
|
+panic = "abort"
|