-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Don't include DefIndex in proc-macro registrar function symbol. #47494
Don't include DefIndex in proc-macro registrar function symbol. #47494
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 42ea668 has been approved by |
42ea668
to
f0a7d8e
Compare
@bors r=nikomatsakis (fixed the failing test) |
📌 Commit f0a7d8e has been approved by |
@michaelwoerister since incremental is on beta, any objections to backporting? |
Once we confirm that it actually fixes the issue, I'm all for backporting. |
@bors p=1 (since this is a bug fix that we probably want to backport) |
…omatsakis Don't include DefIndex in proc-macro registrar function symbol. There can only ever be one registrar function per plugin or proc-macro crate, so adding the `DefIndex` to the function's symbol name does not serve a real purpose. Remove the `DefIndex` from the symbol name makes it stable across incremental compilation sessions. This should fix issue #47292.
☀️ Test successful - status-appveyor, status-travis |
There can only ever be one registrar function per plugin or proc-macro crate, so adding the
DefIndex
to the function's symbol name does not serve a real purpose. Remove theDefIndex
from the symbol name makes it stable across incremental compilation sessions.This should fix issue #47292.