mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
13 lines
261 B
Diff
13 lines
261 B
Diff
Minimize size of the resulting binary: 21572 -> 17616 kiB.
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -73,6 +73,8 @@
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
+opt-level = "z"
|
|
+panic = "abort"
|
|
|
|
[profile.dev]
|
|
# Disabling debug info speeds up builds a bunch,
|