mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-05 07:13:27 -04:00
53433cdea2
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.