-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Declare enums as LLVM named structs #2221
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
Comments
Can we please fix their representation as well at the same? Now that we've |
This seems to require coming up with a canonical name for enums defined in external crates. Is there any other feature that does this in trans? @nikomatsakis I know you ran into a related issue during, I think, printing paths in error messages. |
I think I will just use the full path to the enum, from the perspective of whichever crate it is defined in, and tack on |
I never came up with a good solution. |
Reverted because it broke rust-zmq |
Fixed by df0ef52 |
…r=RalfJung Freebsd-target-support Implement freebsd as a target for miri
Our new GC infrastructure will need to distinguish enum types so we should name them. They will still just be structs of i8s.
The text was updated successfully, but these errors were encountered: