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

Make the cpp! macro a real proc macro #97

Open
ogoffart opened this issue Nov 16, 2021 · 2 comments
Open

Make the cpp! macro a real proc macro #97

ogoffart opened this issue Nov 16, 2021 · 2 comments

Comments

@ogoffart
Copy link
Collaborator

It's still using the old derive marco hack.

Having a real proc macro will also make the rust! better as we won't need an unique name in there, and we will not have to increase the recursion depth.

@luke-titley
Copy link

Are there any more thoughts on this ? Any plans to make this happen ?

@ogoffart
Copy link
Collaborator Author

I've been wanting to do that for a long time, but never got around to do it.
The current system is working well enough for me so i didn't get the incentive to change work on it.

If you want to give it a try, it should be pretty easy to do.

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

No branches or pull requests

2 participants