//! Allocator helpers. Per lfs_util.h lfs_malloc, lfs_free.
//!
//! Used when file config does not provide a buffer. Gated on alloc feature.
/// Translation docs: Allocate memory for littlefs buffers. Returns null on failure.
///
/// C: lfs_util.h:243-252
/// Translation docs: Deallocate memory. C takes only (ptr); we need size for alloc::dealloc.
///
/// C: lfs_util.h:255-264
/// Divergence: C lfs_free(p) has no size; we pass size for Layout in dealloc.