3 ms·
https://github.com/rust-lang/rfcs/blob/master/text/1444-union.md#motivation https://github.com/rust-lang/rfcs/blob/master/text/1444-unio... TL;DR: FFI with C i
by steveklabnik 9y ago
https://github.com/rust-lang/rfcs/blob/master/text/1444-union.md#motivation https://github.com/rust-lang/rfcs/blob/master/text/1444-unio...
TL;DR: FFI with C is much harder without unions. There are smaller reasons as well.