use std::alloc::Layout;
use std::borrow::Cow;
use std::cell::RefCell;
use std::rc::Rc;
use std::alloc;
use std::slice;
use rustc_abi::Align;
use rustc_abi::Size;
use rustc_middle::mir::interpret::AllocBytes;
use crate::alloc::isolated_alloc::IsolatedAlloc;
use crate::helpers::ToU64 as _;