Skip to content

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

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jan 31, 2023

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.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 31, 2023
bors added a commit that referenced this pull request Jan 31, 2023
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.
@Veykril
Copy link
Member Author

Veykril commented Jan 31, 2023

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 proc-macro-api protocol to maybe prevent that once we change things around.

@Veykril Veykril marked this pull request as ready for review January 31, 2023 14:26
@Veykril
Copy link
Member Author

Veykril commented Jan 31, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Jan 31, 2023

📌 Commit 41a46a7 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jan 31, 2023

⌛ Testing commit 41a46a7 with merge 3904593...

bors added a commit that referenced this pull request Jan 31, 2023
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.
@bors
Copy link
Contributor

bors commented Jan 31, 2023

💔 Test failed - checks-actions

@Veykril
Copy link
Member Author

Veykril commented Jan 31, 2023

@bors retry

@bors
Copy link
Contributor

bors commented Jan 31, 2023

⌛ Testing commit 41a46a7 with merge da24953...

@bors
Copy link
Contributor

bors commented Jan 31, 2023

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing da24953 to master...

@bors bors merged commit da24953 into rust-lang:master Jan 31, 2023
@Veykril Veykril deleted the generic-tt branch January 31, 2023 14:59
@lnicola lnicola changed the title Make tt generic over the span data internal: Make tt generic over the span data Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants