You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was discovered1 that for MSVC compilers certain cases around ZST's and packed structs have a different memory layout than what rustc does on every platform.
The algorithm that ferrocene specifies doesn't match what MSVC does. So either the bug is in MSVC or in the specification. If it is considered a bug in MSVC by microsoft, it may not be fixed in MSVC anyway for back compat reasons. And if it will be fixed, old dll's compiled before the fix may be ABI incompatible if they use a type like this.
https://spec.ferrocene.dev/types-and-traits.html#type-representation
It was discovered1 that for MSVC compilers certain cases around ZST's and packed structs have a different memory layout than what rustc does on every platform.
Footnotes
https://github.com/rust-lang/rust/issues/81996 ↩
The text was updated successfully, but these errors were encountered: