2 ms·
> This effectively makes the optimization algorithm part of the Rust ABI; you cannot change (or even fix a bug in) the layout algorithm without breaking binary
by oconnor663 10y ago
> This effectively makes the optimization algorithm part of the Rust ABI; you cannot change (or even fix a bug in) the layout algorithm without breaking binary compatibility.
I think the official word is that Rust has no stable ABI, unless you use repr(C) to force the C ABI?
- kibwen 10y agoIndeed, it's generally assumed that no two versions of the compiler are binary-compatible. ABI stability may come someday, but it's not a high priority at the moment.