Skip to content

Specify that "option-like" enums must be #[repr(Rust)] to be ABI-compatible with their non-1ZST field.#141947

Merged
bors merged 1 commit into
rust-lang:masterfrom
zachs18:patch-4
Jun 13, 2025
Merged

Specify that "option-like" enums must be #[repr(Rust)] to be ABI-compatible with their non-1ZST field.#141947
bors merged 1 commit into
rust-lang:masterfrom
zachs18:patch-4

Update ABI compatibility docs about null-pointer-optimized enums.

c0851d7
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs