Skip to content
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

Restrict proc-macro2 to Version 1.0.86 #868

Closed
wants to merge 1 commit into from

Conversation

AdinAck
Copy link

@AdinAck AdinAck commented Oct 14, 2024

I noticed that proc-macro2 version 1.0.87 introduced character validation for the Punct struct, resulting in svd2rust panicking like so:

thread 'main' panicked at {me}/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.87/src/lib.rs:847:13:
unsupported proc macro punctuation character '{'

Temporary solution is holding back proc-macro2 at version 1.0.86. Better solution would probably be representing the { character with a different struct than Punct.

@AdinAck AdinAck requested a review from a team as a code owner October 14, 2024 03:00
@burrbull
Copy link
Member

Fixed in #864

@burrbull burrbull closed this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants