Re: [PATCH v3 2/2] rust: add dma coherent allocator abstraction.

From: Abdiel Janulgue
Date: Mon Nov 04 2024 - 05:31:31 EST




On 04/11/2024 12:00, Alice Ryhl wrote:

You'll need your own trait, or you can build_assert! that the size is
non-zero in the constructor.

I think we can catch this in the constructor. I'll try the build_assert! approach first as it's simpler.

/Abdiel