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

Support for Enums #1328

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open

Support for Enums #1328

wants to merge 38 commits into from

Conversation

dorezyuk
Copy link

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..

@dphaldes
Copy link

dphaldes commented Dec 9, 2024

@dorezyuk what's the status on this ?

@dorezyuk
Copy link
Author

dorezyuk commented Jan 10, 2025

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

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