]> Repositorios git - scryer-prolog.git/commit
fix ArenaPtr payload offset logic
authorSkgland <[email protected]>
Sat, 25 Apr 2026 14:39:53 +0000 (16:39 +0200)
committerSkgland <[email protected]>
Sat, 25 Apr 2026 16:12:32 +0000 (18:12 +0200)
commiteac7ff680ce7a9f95bc88daaa7c0339f2bf494b8
treece34f2c28a5eb883bfc285f8c82d38c47832ade3
parentb4db85c8c329e1f32fb76344aa7b65a749a2d5ad
fix ArenaPtr payload offset logic

the old logic would be incorrect if the payload has higher alignment than the ArenaHeader i.e. when there is padding between the ArenaHeader and the Payload
src/arena.rs
src/types.rs