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

cargo: stop enabling LTO in release builds #135

Merged
merged 1 commit into from
Nov 2, 2022
Merged

cargo: stop enabling LTO in release builds #135

merged 1 commit into from
Nov 2, 2022

Conversation

bgilbert
Copy link
Contributor

@bgilbert bgilbert commented Nov 2, 2022

It's not yet the upstream default, and it's caused miscompilations in the past on non-x86 builds. We don't especially need the extra optimization and this is security-sensitive code, so let's be conservative and drop it.

It's not yet the upstream default, and it's caused miscompilations in the
past on non-x86 builds.  We don't especially need the extra optimization
and this is security-sensitive code, so let's be conservative and drop it.
@lucab lucab enabled auto-merge November 2, 2022 17:32
@lucab
Copy link
Contributor

lucab commented Nov 2, 2022

See coreos/zincati#877 (comment) for the discussion behind this.

@lucab lucab merged commit b1550be into coreos:main Nov 2, 2022
@bgilbert bgilbert deleted the lto branch November 2, 2022 18:23
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