mirror of
https://github.com/ziglang/zig.git
synced 2026-01-28 10:15:24 +00:00
Do the alignment dance by ourselves whenever posix_memalign is not available. Don't try to use malloc as it has too many edge cases, figuring out whether a block of memory is manually aligned by the mechanism above or is directly coming from malloc becomes too hard to be valuable.