-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix -Clinker-plugin-lto with opt-levels s and z #75956
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
Conversation
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This matches clang behaviour. It is also how clang interprets z
and s
as an optimization level more generally.
@bors r=tmiasko |
📌 Commit afe84b6fae3495cf7283670ead91d21eb3dae66d has been approved by |
⌛ Testing commit afe84b6fae3495cf7283670ead91d21eb3dae66d with merge a83da56c32160c51ba51383dbe860643955594b1... |
💔 Test failed - checks-actions |
@bors r=tmiasko |
📌 Commit 32cf035 has been approved by |
☀️ Test successful - checks-actions, checks-azure |
Pass s and z as
-plugin-opt=O2
to the linker. This is what-Os
and-Oz
correspond to, apparently.Fixes #75940