Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasi: round up the size for
aligned_alloc
C11 `aligned_alloc` requires that the size be a multiple of the alignment. This is enforced in the wasi-libc emmalloc implementation, which always returns NULL if the size is not a multiple. (The default `MALLOC_IMPL=dlmalloc` does not currently check this.)
- Loading branch information