Add repr(C) attribute to type used in MmapSlice (#7472)

This commit is contained in:
Tim Visée
2025-11-14 12:30:16 +01:00
committed by timvisee
parent df2b1c6232
commit 95ddb9477d
@@ -28,6 +28,7 @@ const OFFSETS_DIR_PATH: &str = "offsets";
const DELETED_DIR_PATH: &str = "deleted";
#[derive(Clone, Copy, Debug, Default, PartialEq)]
#[repr(C)]
pub struct MultivectorMmapOffset {
offset: u32,
count: u32,