From d26773070449504177ad1cfd94f0fcd120e4e9d8 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sun, 22 May 2022 12:48:34 +0200 Subject: build: strip debug symbols (#1177) * build: strip debug symbols Stripping the symbols for the release build drops binary size currently by 20% and the plugin binaries by up to 50%. Alternative: Keep the debug symbols also on releases * bump(rust): `1.58.0` -> `1.59.0` * chore: bump MSRV `1.56` -> `1.59` Needed for cargos strip-debug feature --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 030cc4744..b07b89e9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" repository = "https://github.com/zellij-org/zellij" homepage = "https://zellij.dev" include = ["src/**/*", "assets/plugins/*", "assets/layouts/*", "assets/config/*", "LICENSE.md", "README.md", "!**/*_test.*", "!**/tests/**/*"] -rust-version = "1.56" +rust-version = "1.59" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -42,6 +42,7 @@ members = [ [profile.release] lto = true +strip = true [package.metadata.deb] depends = "$auto" -- cgit v1.2.3