Re: [PATCH v2] rust: alloc: satisfy `aligned_alloc` requirements
From: Miguel Ojeda
Date: Thu Feb 06 2025 - 13:29:04 EST
On Thu, Feb 6, 2025 at 7:04 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> I previously checked man posix_memalign(3) and it says:
>
> ERRORS
> EINVAL The alignment argument was not a power of two, or was not a
> multiple of sizeof(void *).
Yeah, but that may not apply to `alligned_alloc` as far as I can see.
Cheers,
Miguel