Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strip to release binaries #338

Closed
sluedecke opened this issue May 2, 2024 · 1 comment
Closed

Add strip to release binaries #338

sluedecke opened this issue May 2, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@sluedecke
Copy link
Contributor

What's your idea?

Not a big deal, but it reduces resulting file size of a release build on my Linux machine from 37M down to 25M by adding this to Cargo.toml:

[profile.release]
strip = true # strip binaries to reduce their size
@sluedecke sluedecke added the enhancement New feature or request label May 2, 2024
@mtkennerly
Copy link
Owner

Makes sense 👍 Rust recently enabling stripping in release mode by default, but it's probably still good to specify it since the Flatpak builds can use a slightly older version.

@mtkennerly mtkennerly added this to the v0.24.0 milestone May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants