From 32308483d9db63a0b90500b76e6684853862d95f Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sat, 5 Mar 2022 16:51:22 +0100 Subject: [PATCH 1/3] 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 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index e462d168bc..963cf45f4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,7 @@ members = [ [profile.release] lto = true +strip = true [package.metadata.deb] depends = "$auto" From d897a1fed15325b6674bbd06f0545da270d791f5 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sat, 21 May 2022 23:09:47 +0200 Subject: [PATCH 2/3] bump(rust): `1.58.0` -> `1.59.0` --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e37283b00e..8c323d524d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ # This file is updated by `update-toolchain.sh` [toolchain] -channel = "1.58.0" +channel = "1.59.0" components = ["rustfmt", "clippy", "rust-analysis"] targets = ["wasm32-wasi", "x86_64-unknown-linux-musl"] From 2a5c3c71293e469686cca283ecfb452469a20d06 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sat, 21 May 2022 23:12:13 +0200 Subject: [PATCH 3/3] chore: bump MSRV `1.56` -> `1.59` Needed for cargos strip-debug feature --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b7bc5de8b4..b07b89e9a9 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