mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
- Fetch crates in prepare stage. - Patch to minimize binary size. - Add shared-mime-info runtime dependency, also required for successfully running the test suite. - Update url and source links to new upstream.
12 lines
255 B
Diff
12 lines
255 B
Diff
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -57,6 +57,9 @@
|
|
[profile.release]
|
|
# Enable LTO for release builds; makes the binary a lot smaller
|
|
lto = true
|
|
+codegen-units = 1
|
|
+opt-level = "z"
|
|
+panic = "abort"
|
|
|
|
[package.metadata.release]
|
|
allow-branch = ["main"]
|