Skip to content

Enable lto and stripping in release mode #157

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

Merged
merged 1 commit into from
Jun 20, 2022
Merged

Enable lto and stripping in release mode #157

merged 1 commit into from
Jun 20, 2022

Conversation

LingMan
Copy link
Contributor

@LingMan LingMan commented Jun 16, 2022

Reduces the size of the resulting binary from 10.5 MiB to 3.7 MiB.

For reference:
strip-only = 5.1 MiB
lto-only = 6.3 MiB

Reduces the size of the resulting binary from 10.5 MiB to 3.7 MiB.

For reference:
strip-only = 5.1 MiB
lto-only   = 6.3 MiB
@oli-obk oli-obk merged commit b31fcd7 into rust-lang:master Jun 20, 2022
@LingMan LingMan deleted the stripnlto branch June 20, 2022 16:20
@Noratrieb Noratrieb mentioned this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants