Misc build fixes

This commit is contained in:
Erik Grinaker
2025-06-05 17:22:11 +02:00
parent 328f28dfe5
commit 2fb6164bf8
3 changed files with 4 additions and 11 deletions

View File

@@ -62,6 +62,7 @@ impl<'t> BlockAllocator<'t> {
.cast()
}
#[allow(clippy::mut_from_ref)]
pub(crate) fn alloc_block(&self) -> &mut [MaybeUninit<u8>] {
// FIXME: handle OOM
let blkno = self.alloc_block_internal();