Skip to content

Unify the fat pointer layouts in back::abi #18590

Closed
@nrc

Description

@nrc

There are three versions of these layouts for functions, traits, and slices, but the compiler relies on these being the same. We should replace them with a single layout: fat_ptr_data and fat_ptr_extra or something. While we're at it, we should probably find uses of len/length names in the DST code and replace it with something more generic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DSTsArea: Dynamically-sized types (DSTs)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions