Open
Description
The reference provides an algorithm that describes the exact layout of repr(C) structs: https://doc.rust-lang.org/reference/type-layout.html#reprc-structs
Can you confirm that unsafe code can rely on this algorithm?
The reference provides an algorithm that describes the exact layout of repr(C) structs: https://doc.rust-lang.org/reference/type-layout.html#reprc-structs
Can you confirm that unsafe code can rely on this algorithm?