From 418cd24979716e5ade3a3a696bcb39fe3b9c2198 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 22 Oct 2023 11:02:01 +0000 Subject: [PATCH] build: strip release binaries This significantly reduces binary size for deltachat-rpc-server, from 42 MiB to 15 MiB in case of aarch64. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index f5e389e9e..7cf3db408 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,7 @@ lto = true panic = 'abort' opt-level = "z" codegen-units = 1 +strip = true [patch.crates-io] quinn-udp = { git = "https://github.com/quinn-rs/quinn", branch="main" }