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
This commit is contained in:
parent
aff1214d1e
commit
d267730704
2 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue