Skip to content

Deprecate the fixed-width integer aliases #1304

Description

@gnzlbg

We do guarantee that the fixed-width integer types {i,u}{8,16,32,64} are layout compatible with C's {u,}int{8,16,32,64}_t.

There is no need to provide type aliases (e.g. libc::uint64_t) for these, in the same way that we don't provide a libc::c_bool type alias for bool.


Note that c_float and c_double aren't necessarily layout compatible with f32 and f64.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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