-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.
Description
This type would have to ensure two aspects:
- The size of the representation is the same as the backing compiler's representation.
- Each value is only ever allowed to contain the integer 0 or 1.
This could possibly be done through a new c_bool
primitive type in liblibc
(not an alias) or perhaps a wrapper struct/wrapper newtype if we're able to enhance as
semantics enough (for example).
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.