Skip to content

Return correct pointer width for the x32 abi #97

@bjorn3

Description

@bjorn3

Currently x86_64-unknown-linux-gnux32 will incorrectly give a pointer width of 64. This causes an ICE for cg_clif due to an assertion about the pointer width known to rustc and known to Cranelift not matching: rust-lang/rust#118739

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions