memory arena allocator: fix bug
memory arena allocator: fix bug: a task in smol-software-harbor (Harbor dataset). arena alloc() in src/arena.c hands out misaligned pointers (a 3-byte allocation followed by an 8-byte one returns mem + 3 ), which crashes on CPUs that require aligned loads. As src/arena.h says, every allocation…
The task
`arena_alloc()` in `src/arena.c` hands out misaligned pointers (a 3-byte allocation followed by an 8-byte one returns `mem + 3`), which crashes on CPUs that require aligned loads. As `src/arena.h` says, every allocation must start at an offset that is a multiple of 8. Fix it and run `make -B test`.
Part of efederici/smol-software-harbor.