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
But this restriction is unnecessary for repr(C) types. For repr(C) types, the layout is the layout defined by the C target environment. That environment is determined by the target 4-tuple.
The text was updated successfully, but these errors were encountered:
The packed struct
cgw_frame_mod
in the linux kernel api contains the aligned structcan_frame
. This cannot be written in Rust because@alexcrichton, @nikomatsakis, and @retep998 discussed this issue in #1358 and the decision was to disallow this.
But this restriction is unnecessary for repr(C) types. For repr(C) types, the layout is the layout defined by the C target environment. That environment is determined by the target 4-tuple.
The text was updated successfully, but these errors were encountered: