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

feat: enable LTO #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: enable LTO #205

wants to merge 1 commit into from

Conversation

zamazan4ik
Copy link

Hi!

I started a discussion about enabling Link-Time Optimization (LTO) across all pop!_os projects to improve their general performance (more compiler optimizations can be done with LTO) and the binary size reduction (LTO usually leads to measurable binary size improvements) here - pop-os/pop#3386 . In pop-os/pop#3386 (comment) was proposed creating PRs into repos with enabling LTO - it's such a PR!

As a reference, I used the cosmic-comp Release profile.

I have made local quick build tests (Fedora 40, Rustc 1.80): the binary size from enabling lto = "fat" is dropped from 24 Mib to 18 Mib.

Thank you.

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.

1 participant