Skip to content

Fix possible UB by implementing Copy and Clone manually for BuddyEntry.

Jacob Lorentzon requested to merge 4lDO2/rmm:fix-repr-packed into master

This fixes a warning that may in the future become an error, about the possibility for unaligned references, since the derive macros apparently rely on creating references to fields. Unaligned references in packed structs are direct UB.

Merge request reports