Skip to main content

Module alloc_bytes

Module alloc_bytes 

Source

Re-exportsΒ§

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 _; πŸ”’

StructsΒ§

MiriAllocBytes
Allocation bytes that explicitly handle the layout of the data they’re storing. This is necessary to interface with native code that accesses the program store in Miri.

EnumsΒ§

MiriAllocParams