-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
C-unsupported-language-featureA rust feature we don't extract wellA rust feature we don't extract well
Description
Currently the translation of unsized types requires the user to figure out metadata manipulation themselves: e.g. a cast from Box<[T; N]> to Box<[T]> makes a fat pointer but nothing in charon makes that clear.
Ideally charon would tell you exactly what metadata to use whenever creating a pointer that happens to be fat.
- Make explicit which metadata is used on a given unsizing coercion;
- Make pointer metadata tracking explicit;
- Support unsizing behind non-builtin pointers;
Metadata
Metadata
Assignees
Labels
C-unsupported-language-featureA rust feature we don't extract wellA rust feature we don't extract well