openvm_platform::memory

Function sys_alloc_aligned

Source
#[no_mangle]
pub unsafe extern "C" fn sys_alloc_aligned(
    bytes: usize,
    align: usize,
) -> *mut u8
Expand description

ยงSafety

This function should be safe to call, but clippy complains if it is not marked as unsafe.