From d219e28280eda02aa48067c91750d3bda9b20611 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Fri, 22 Mar 2024 18:15:56 +0100 Subject: [PATCH] Strip binaries when building static release --- .cargo/static-build.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/static-build.toml b/.cargo/static-build.toml index 46c34b6..06ecfbf 100644 --- a/.cargo/static-build.toml +++ b/.cargo/static-build.toml @@ -1,3 +1,6 @@ [build] rustflags = ["-C", "target-feature=+crt-static"] target = "x86_64-unknown-linux-gnu" + +[profile.release] +strip = true