-
Notifications
You must be signed in to change notification settings - Fork 342
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
Support for Enums #1328
base: master
Are you sure you want to change the base?
Support for Enums #1328
Conversation
@dorezyuk what's the status on this ? |
I think its in a zombie state - I've reached out when I was working on it to @dtolnay to check how to add this into the repo (its a massive PR after all) and David said he has capacity right now to review (and maintain) such large features. But it does not mean that the people interested in this (especially the cpp/Rust gurus here) should not review it. Maybe this will even help to ease the burden from David edit typo |
PR adds
std::variant
like type with the same memory layout as Rust's enum and codegen code to generate binding to c++ from Rust.The PR is quite massive and I've know that there is currently little active development at this project. Nonetheless, if the development is ever picked up, it would be great to include the feature.
It should probably also go behind a feature flag..