mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 13:26:38 +03:00
build: strip release binaries
This significantly reduces binary size for deltachat-rpc-server, from 42 MiB to 15 MiB in case of aarch64.
This commit is contained in:
@@ -24,6 +24,7 @@ lto = true
|
|||||||
panic = 'abort'
|
panic = 'abort'
|
||||||
opt-level = "z"
|
opt-level = "z"
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
strip = true
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
quinn-udp = { git = "https://github.com/quinn-rs/quinn", branch="main" }
|
quinn-udp = { git = "https://github.com/quinn-rs/quinn", branch="main" }
|
||||||
|
|||||||
Reference in New Issue
Block a user