Skip to content

codegen: ctypes_prefix may not be an ident. #1476

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
Dec 28, 2018

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Dec 28, 2018

This fixes a panic uncovered by the proc_macro update, which validates idents
now. We were using it as a pretty crappy way to turn it into something that
could be turned into a TokenStream. But TokenStream implements FromStr now.

This fixes a panic uncovered by the proc_macro update, which validates idents
now. We were using it as a pretty crappy way to turn it into something that
could be turned into a TokenStream. But TokenStream implements FromStr now.
@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@emilio emilio merged commit d6e8eaf into rust-lang:master Dec 28, 2018
@gnzlbg
Copy link
Contributor

gnzlbg commented Dec 28, 2018

@emilio would it be possible to do a new release with this fix ?

@emilio
Copy link
Contributor Author

emilio commented Dec 29, 2018

Sure, will do, sorry for the lag :)

@emilio emilio deleted the ctypes-ident branch December 29, 2018 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants