-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[beta] Don't sanity check function pointers in vtables #53425
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? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
|
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
tcx.mk_array(Option<fn()>), | ||
]) | ||
*/ | ||
) |
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.
Huh, this is a bit surprising to me, but I'm gonna trust you all here =)
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.
So...the issue is that functions with where bounds also contributed to the count, even if they were excluded because they aren't object safe and thus they shouldn't be in the vtable. the previous code was simply wrong, and fixing it fully would blow anything we could beta backport
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.
The same patch should also land on master though as the layout is still wrong there?
@bors r+ p=1 |
📌 Commit bddfece has been approved by |
Giving high priority because fixes a beta problem =) |
⌛ Testing commit bddfece with merge b9e5e6eea3f80a78338dde50596f88109f3494e7... |
💔 Test failed - status-appveyor |
codegen test failed on 32-bit platform.
|
@bors r=nikomatsakis |
📌 Commit 690c075 has been approved by |
@bors ping retry |
😪 I'm awake I'm awake |
☀️ Test successful - status-appveyor, status-travis |
cc #53401
There's no beta nomination because the full fix (#53424) is not backportable