rust-cpp icon indicating copy to clipboard operation
rust-cpp copied to clipboard

Make the cpp! macro a real proc macro

Open ogoffart opened this issue 2 years ago • 2 comments

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.

ogoffart avatar Nov 16 '21 08:11 ogoffart

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

luke-titley avatar Feb 10 '23 09:02 luke-titley

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.

ogoffart avatar Feb 10 '23 10:02 ogoffart