Skip to content

Update Int/UInt to use target machine pointer size #731

@Snowy1803

Description

@Snowy1803

Int and UInt should be equivalent to C ptrdiff_t and size_t, or Rust isize and usize, or Swift Int or UInt.
They should not use size 32 or 64, but the target machine's pointer size. This pointer size should be passed down from the Driver, maybe through the ImportManager that should have the target machine/triple info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    semaSemantic Analysis — includes Constraint System, Scope resolution, and Semantic Passes

    Type

    No type

    Projects

    Status

    Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions