Skip to content

other-reprs: do not make it sound like we are making ABI promises for repr(int) enums#461

Merged
ehuss merged 1 commit intorust-lang:masterfrom
RalfJung:repr-int-enum-abi
Feb 19, 2025
Merged

other-reprs: do not make it sound like we are making ABI promises for repr(int) enums#461
ehuss merged 1 commit intorust-lang:masterfrom
RalfJung:repr-int-enum-abi

Conversation

@RalfJung
Copy link
Copy Markdown
Member

Until something like rust-lang/rust#128600 lands, let's be careful what we say about this.

Also mention that repr(C) generally makes this behave the same as C ABI-wise. That's anyway what people already assume this means and are relying on in practice, so there's no point in not saying it IMO?

Cc @rust-lang/opsem @chorman0773

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants