Function miri::shims::alloc::check_alloc_request
source · pub(super) fn check_alloc_request<'tcx>(
size: u64,
align: u64
) -> InterpResult<'tcx>
Expand description
Check some basic requirements for this allocation request: non-zero size, power-of-two alignment.