mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-03 16:40:54 -05:00
* Assert data alignment in `transmute_from_u8*` functions * WIP: Switch `transmute_from_u8*` alignment asserts from `debug_assert` to `assert`... ...to make sure *all* tests running on CI will enforce the alignment * Add descriptive message to alignment assertions * Fix alignment in graph links file (#3807) * fix alignment in graph links file * fix alignment while reading * Revert "fix alignment while reading" This reverts commite2d1cee890. * Revert "Revert "fix alignment while reading"" This reverts commit7a4fdc9aea. * small refactor * Switch `transmute_from_u8*` alignment asserts back to `debug_assert` Additionally: - Remove extra `0x` from slice address in assert messages * Trim offsets padding bytes from the end of `links_mmap` slice --------- Co-authored-by: Ivan Pleshkov <pleshkov.ivan@gmail.com>