-
Notifications
You must be signed in to change notification settings - Fork 1.8k
internal: Make tt generic over the span data #14061
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
feat: Remove support for 1.58 proc-macro abi This seems old enough that we can drop the support for it now, the less ABIs we have the less work it is adjusting our span implementation. Extracted from #14061, will rebase that over this once merged.
I just realized, changing our span data will probably break proc-macros in general again, since we are changing the amount of data that is exchanged (this PR doesn't do that yet) 😬 I guess after this I'll first look into versioning the |
@bors r+ |
Make tt generic over the span data This also fixes up our delimiter representation in tt, it is no longer optional (we use invisible delims in the same way as before, that is still incorrectly) and we now store two spans instead of one. These changes should help with adjusting our token map. Though this will probably break proc-macros in some ways, will need to test that for now.
💔 Test failed - checks-actions |
@bors retry |
☀️ Test successful - checks-actions |
This also fixes up our delimiter representation in tt, it is no longer optional (we use invisible delims in the same way as before, that is still incorrectly) and we now store two spans instead of one.
These changes should help with adjusting our token map. Though this will probably break proc-macros in some ways, will need to test that for now.